explain oops concepts with examples?

Answer Posted / k.rajasekhar naidu

OOPS Concepts:
1) Encapsulation: Wrapping up of data and methods in to a
single unit is called as encapsulation.

2) Abstraction: It Supports Abstarction

3) Inheritence:Process of Aquiring properties from one
object to another without changes.

4) Polymorphism:Process of aquiring properies from one
object to anotherwith changes.

poly=many

morphism=forms

5) Message Passing:message passing is possible from one
object to another.

6) Robust and Secure: every object is strong one.
every object is secure one with their access specifiers.

Is This Answer Correct ?    258 Yes 120 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different http methods?

545


Is array synchronized in java?

561


What causes memory leak in java?

490


Which is the best approach for creating thread ?

733


What is oop principle in java?

555






Can we instantiate interface in java?

680


What are multiple inheritances?

589


What is the difference between actual and formal parameters?

522


What is constant in programming?

563


What is variable length arguments in java?

527


What is the char data type?

538


What is static in java?

567


How do you use compareto?

557


What are loops in java? What are three types of loops?

559


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

621