Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
5.3k views
in Computer by (25.1k points)

Explain advantages of OOPs.

1 Answer

+1 vote
by (26.0k points)
selected by
 
Best answer
  1. OOP provides a dear modular structure for programs. Large problems can be reduced to smaller and more manageable problems.
  2. In OOP, data can be made private to a class such that only member functions of the class can access the data. This principle of data hiding helps the programmer to build a secure program.
  3. Implementation details are hidden from other modules and other modules has a clearly defined interface.
  4. It is easy to maintain and modify existing code as new objects can be created with small differences to existing ones.
  5. With the help of polymorphism, the same function or same operator can be used for different purposes. This helps to manage software complexity easily.
  6. In OOP, programmer not only defines data types but also deals with operations applied for data structures.
  7. It is easy to model a real system as real objects are represented by programming objects in OOP. With the help of inheritance, we can reuse the existing class to derive a new class such that the repetition of code is eliminated and the use of existing class is extended. This saves time and cost of program.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...