1. Object Oriented Programming
The Analysis and Design Phase :
Analysis describes what the system needs to do: Modeling the real-world, including actors and activities, objects, and behaviors.
Design describes how the system does it:
• Modeling the relationships and interactions between objects and actors in the system
Example: E-tourism Class Diagram
a. The Default Constructor
There is always at least one constructor in every class. If the writer does not supply any constructors, the default constructor is present automatically:
The default constructor takes no arguments and The default constructor body is empty. The default enables you to create object instances with new Xxx()without having to write a constructor.
c. Basic syntax of an attribute:
* [ = ];
e. Accessing Object Members
The dot notation is: