You are on page 1of 6

JAVA

Programming Approaches
Modular Programming
Top down programming
Bottom up programming
Structured programming
Object oriented programming
Object oriented Programming
Allows us to decompose a problem in to a
number of entities called OBJECTS and build
data and functions around these entities.
Features of OOP
Emphasis is on data rather than procedure.
Programs are divided in to objects
Data structures are designed for the objects.
Data is hidden and cannot be accessed by
external functions.
Objects may communicates with each other
through method.
New data and methods can be added easily.
Bottom-up approach
Definition
Object oriented programming is an approach
that provides a way of modularizing programs
by creating partitioned memory area(Objects)
for both data and functions that can be used
as templates for creating copies of such
modules on demand.
General Concepts of OOP
Objects and classes.
Data abstraction and encapsulation.
Inheritance
Polymorphism
Dynamic Binding
Message Communication

You might also like