What is the need of classes for OOPS programming language?
47 Views|Posted 8 years ago
Asked by Amitoj Singh Baweja
2 Answers
S
Answered by
7 years ago
Object-Oriented Programming has the following reasons to be used:
1) OOP provides a clear modular structure for programs.
2) OOP makes it easy to maintain and modify existing code.
3) OOP provides a good framework for code libraries where supplied software components can be easily adapted and mod
P
Answered by
7 years ago
Following two concepts explain everything about the use of OOPs.
1. Duplicate code is bad.
2. Code will always be changed.
So, above statement proves, OOPs is provides code reusability which reduces the duplication of code because once you have duplicate code, you have made changes everywhere which
Taking an Exam? Selecting a College?
Get authentic answers from experts, students and alumni that you won't find anywhere else.
On Shiksha, get access to
66K
Colleges
|
1.2K
Exams
|
6.9L
Reviews
|
1.8M
Answers
Didn't find the answer you were looking for?
Search from Shiksha's 1 lakh+ Topics
or
Ask Current Students, Alumni & our Experts
Have a question related to your career & education?
or
See what others like you are asking & answering