GeekInterview.com
Series: Subject: Topic:
Question: 771 of 1118

Why we use OOPS concepts, What is its advantage

Asked by: Interview Candidate | Asked on: Aug 26th, 2004
Showing Answers 1 - 4 of 4 Answers

oops stands for object oriented programming.It supports abstraction,encapsulation.The concepts of classes and objects hav made OOPS very unique.C++,java are eg of OOPS.Advantages1)Encapsulation-i.e Data hiding ,programmer can ensure that his code is not accessed.Access specifiers like protected,private etc help the purpose2)inheritance-helps in code reusability]3)polymorphism]4)abstraction

  
Login to rate this answer.
R Krishna Prasadh

Answered On : Aug 20th, 2006

OOPS is basically Object Oriented Programming. It is not only the the matter of Data Encapsulation & Data Hiding, it also involves in Inheritance and Polymorphism. OOPS also makes a code neat and clean and readeable.

  
Login to rate this answer.
vamsikrishnarv

Answered On : Jun 18th, 2008

View all answers by vamsikrishnarv

we can use classes and objects in java .so java follows oops concept.

  
Login to rate this answer.
chandan

Answered On : Jun 20th, 2012

Advantage of OOP:
1. Through inheritance we can achieve reusability. Also eliminate redundant code.
2. The principle of data hiding helps to build secure program.
3. Since java objects represent real world object, so oops provide a clear structure of the program which becomes easy to map real world problem and give solution.
4. It enhances program modularity since each object exists independently.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.