Welcome To Java Programming Course at Seed: SEED Infotech Pvt. LTD
Welcome To Java Programming Course at Seed: SEED Infotech Pvt. LTD
Welcome To Java Programming Course at Seed: SEED Infotech Pvt. LTD
OOP’s concepts.
Java Language Fundamentals
AWT and Swing’s.
Multi Threading
I/O and File handling
Collection API
Socket Programming
Applets
Introduction to JDBC and RMI
JavaBeans
Beginning Java 2
Ivor Horton (WROX)
Java Programming
Language James Gosling et. al.
The Claim
Functions
and Data
Procedures
Object Object
- The architecture
Car Attributes
Color
Average
Make Static
Power
Fuel type
Speed
Values of all attributes
Fuel level
at any moment defines
Tyre pressure Dynamic
the state of the car
Gear
SEED Infotech Pvt. Ltd. 12
Behavior of an Object
Window Operations
sasaasasasasasasas
Open
Close
Maximize
Minimize Totality of operations we can
Resize perform upon a window and
Move consequent changes in attributes
Write defines behavior of a window
Bank Account
Balance
Interest Rate
Account Number IDENTITY
Customer
5 Major Pillars
Abstraction
Encapsulation
Modularity
Inheritance
Polymorphism
{ data, data,….}
attributes
entity object
Encapsulation
Encapsulation serves to separate interface of an
abstraction and its implementation
Encapsulation ensures that data within an object is
protected; it can be accessed only by its methods
Inheritance
Classification helps in handling complexity
Inheritance is a property of a class hierarchy
whereby each subclass inherits attributes and
methods of its super-class
The subclass can have additional specific attributes
and methods
Vehicle
Kinetic Scooter
Car
Engine
dsa
Insurance
gdfg
Wheels Registration
SEED Infotech Pvt. Ltd. 33
Object Model : Polymorphism
Polymorphism
The ability of different objects to respond to the
same message in different ways is called
polymorphism
Polymorphism helps us to :
Design extensible software as we can add new
objects to the design without rewriting existing
procedures
Move ( )
Move ( )
Move ( )
Move ( )
3 Minor Pillars
Strong Type Casting : prevents mixing of
abstraction
Eg – Bank Slip
Persistence : saves state of a object across time
and space
Eg – Local object and object that outlive the
program
Concurrency : many objects responding
simultaneously.
Eg typing into a file & printing some previous file at
the same time