0% found this document useful (0 votes)
3 views

3084Benefits and Applications of Java

The document outlines the benefits and applications of Object Oriented Programming (OOP) in Java, highlighting advantages such as real-world reflection, code maintainability, information hiding, reusability, security, and ease of troubleshooting. It also lists various applications of OOP, including desktop and mobile applications, web servers, and machine learning. Overall, OOP is presented as a structured and efficient approach to software development.

Uploaded by

maurya222125
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

3084Benefits and Applications of Java

The document outlines the benefits and applications of Object Oriented Programming (OOP) in Java, highlighting advantages such as real-world reflection, code maintainability, information hiding, reusability, security, and ease of troubleshooting. It also lists various applications of OOP, including desktop and mobile applications, web servers, and machine learning. Overall, OOP is presented as a structured and efficient approach to software development.

Uploaded by

maurya222125
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

Benefits and Applications of

Object Oriented Programming


Java
(Computer Science/Applications)

C.V. KRISHNAVENIM.Tech(PhD)
Govt. Degree College for Women (A), Kadapa
Email. Id : [email protected]
Objectives

Benefits of Object Oriented Programming

Applications of Object Oriented Programming


Benefits of Object Oriented Programming

•Ability to reflect the real world


•Easy to Maintain the code
•Information Hiding
•Reusability of Code
•Flexibility of Code
•Security
•Troubleshooting is easy
Ability to reflect the real world

❖ Every Entity in the real world can be expressed as an object in OOP.


❖ An Object is an entity with has state and behavior.
❖ Eg. Dog is a real world entity
It has state: breed, color etc.,
behavior: barks, eats etc.,
It can be expressed as Object, by defining state and behavior in the class.
Easy to Maintain the code

• Object Oriented Programming relies on classes, creation and communication


among objects.
• It is easy to maintain the code.
• Part of the code can be modified without affect the entire program.
• Eg. Overriding, inheritance etc.,
Information Hiding
Variables,
Methods are
bundled in
class and
Variables
accessed by of
a objects.
class
Dataare
used by
Abstraction
methods
provide the of
Eg.thatThough
concept class
of
users only.
do not
hiding
know the
implementat
internal
ion details
mechanism
and working
onlyofwith
TV-Remote,
the required
they operate
methods.
them by
pressing
buttons of
the remote
Reusability of Code

•The existing classes properties can be acquired by subclasses through the concept of inheritance.
•Reusability of Code adds essence to the Object Oriented Paradigm.
•Several types of Inheritances like single level, multilevel , hierarchical etc., help in reusability of code.
Flexibility of the code
It is easy to
modify the a
part of the code
without
affecting the
entire
It program.
is easy to
reuse the
existing code.

It is easy to
extend the code
for performing
new operations.
Security

• Object Oriented Programming provides security.


• The concept of Encapsulation bundles variables and methods into a
component.
• The code can be protected from further modification, enhancement if
required.
For example:
final keyword is used for not letting the class to be used for inheritance.
Troubleshooting is easy

o Object Oriented Programming follows modular division and bottom up


programming approach.
o Hence, makes troubleshooting easy.
Easy to write complex software
• The concept of class, objects, polymorphism, inheritance etc., allows the
programmer to write complex software easily using OOP.
• The problem can be divided into chunks and can be dealt separately lateron
can be combined together.
Easy Upgradation of Code
• The existing code can be modified to the changing needs easily.
• The reusability concept makes to easily upgrade the code by using the
existing code.
• Polymorphism allows the programmer to implement the same method in
different ways different parameters.
Applications of Object Oriented
Programming
Desktop applications

Web applications

CAD/CAM Software

Web servers and application servers


Applications of Object Oriented
Programming(contd..)
● Mobile applications (particularly Android based)
● Games
● Graphical User Interface Design
● Big Data applications
Applications of Object Oriented
Programming(contd..)
● Parallel Programming
1. Machine Learning Applications
● Artificial Intelligence
● Expert Systems
Applications of Object Oriented
Programming(contd..)
● Real Time Systems
● e-Business Applications
● Database connection
● Object Oriented Database
Summary
• Benefits of Object Oriented Programming
❖ OOP reflect the real world.
❖ OOP has a clear structure for the program.
❖ OOP is faster.
❖ OOP follows “DRY” i.e., Don’t Repeat Yourself.
❖ OOP is easier to write, modify, maintain and debug
• Applications of Object Oriented Programming
❖ Almost all Desktop/Mobile/Web-based applications.
References
• Think Java How to Think Like a Computer Scientist Version 6.1.3, Allen B.
Downey and Chris Mayfield Green Tea Press Needham, Massachusetts.
• MIT Open Courseware, Massachusetts Institute of Technology,
Introduction to Programming in Java
• Programming In Java Prof. Debasis Samanta Department of Computer
Science Engineering Indian Institute of Technology, Kharagpur, Swayam,
NPTEL.
• Java : The Complete Reference, Seventh Edition, Herbert Schildt.
• Programming with Java, A Primer, E. Balagurusamy.
THANK YOU

C.V. KRISHNAVENI

You might also like