Object-Oriented Design
Topics of Discussion
Object-Oriented Principles
Java Class Diagram
Examples of class and object
Examples
Program Structure
Method Invocation/Call
Defining Methods
Method Definition : Syntax
Return Type
Return Statement
Parameter List
Parameter list : Syntax
Method Definition : review
Method Definition : Example
...Example (contd.)
What happens when a method is called?
Method Invocation : semantics
Defining Classes
Constructors
Visibility Modifiers : private, public
Classes and CLASSPATH
Summary
Email: bina@cs.buffalo.edu
Home Page: http://www.cs.buffalo.edu/~bina
Download presentation source