Concepts of Object Oriented Programming
Concepts of Object Oriented Programming
Programming
Object Oriented Programming
versus Procedural Approach
Procedural Programming focuses on
code acting on data thought, whereas
OOPA works on the thought of data
controlling access to code through
objects.
Object Oriented Programming is at
the heart of Java and not an option as
it is in C++.
OOPS Concepts
Abstraction
Encapsulation
Inheritance/Code reusability
Polymorphism
OOPS Components
Object
Class
Abstraction
Accessible to class
yes yes yes no
from same package?
Accessible to class
from different yes no, unless it is a subclass no no
package?