Java Lect 1
Java Lect 1
Presented By
Dr. Sudipta Sahana
Associate Professor
Dept. of CSE
UEM - Kolkata
Topic of Interest
The main difference between object-oriented analysis and other forms of analysis is that in
object-oriented approach, requirements are organized around objects, which integrate both
data and functions. They are modelled after real-world objects that the system interacts with.
In traditional analysis methodologies, the two aspects - functions and data - are considered
separately.
Object Oriented Analysis
The primary tasks in object-oriented analysis (OOA) are:
Identifying objects
The common models used in OOA are use cases and object models.
Object Oriented Design
Object–Oriented Design (OOD) involves implementation of the conceptual model produced
during object-oriented analysis. In OOD, concepts in the analysis model, which are
technology−independent, are mapped onto implementing classes, constraints are identified
and interfaces are designed, resulting in a model for the solution domain, i.e., a detailed
description of how the system is to be built on concrete technologies.
Implementation of associations.
Object Oriented Programming Language
Object-oriented programming (OOP) is a programming paradigm based upon objects (having
both data and methods) that aims to incorporate the advantages of modularity and reusability.
Objects, which are usually instances of classes, are used to interact with one another to design
applications and computer programs.
Reusability of design through creation of new classes by adding features to existing classes
Some examples of object-oriented programming languages are C++, Java, Smalltalk, C#,
Perl, Python, Ruby, PHP etc.
Class & Object
The concepts of objects and classes are intrinsically linked with each other and form the
foundation of object–oriented paradigm.
Class
A class represents a collection of objects having same characteristic properties that exhibit
common behavior. It gives the blueprint or description of the objects that can be created from
it. Creation of an object as a member of a class is called instantiation. Thus, object is an
instance of a class.
A set of attributes for the objects that are to be instantiated from the class. Generally,
different objects of a class have some difference in the values of the attributes. Attributes
are often referred as class data.
A set of operations that portray the behavior of the objects of the class. Operations are also
referred as functions or methods.
Class & Object
Object
State that determines the characteristic properties of an object as well as the values of the
properties that the object holds.
Objects can be modelled according to the needs of the application. An object may have a
physical existence, like a customer, a car, etc.; or an intangible conceptual existence, like a
project, a process, etc.
Thank
You