explain oops concepts with examples?

Answer Posted / reddy

Abstraction: giving only important things hiding unnecessary
things.
data hiding: we can get by using private keyword
encapsulation: abstraction+data hiding(security)
polymorphism: flexibility
inheritance: reusability

Is This Answer Correct ?    116 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the file type?

561


What are the main features of java?

534


What is difference between an object and a class?

615


How is treeset implemented in java?

498


Is a case study a method or methodology?

469






What is local class in java?

528


What is nan inf?

513


Can we override protected method in java?

582


What is locale in java?

581


How many bytes is string in java?

617


what is abstract class in Java?

654


What is the preferred size of a component in java programming?

545


Explain reverse a linked list recursive java solution?

535


How do I compare two strings in word in java?

543


What do you mean by buffering?

563