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
What are the different http methods?
Is array synchronized in java?
What causes memory leak in java?
Which is the best approach for creating thread ?
What is oop principle in java?
Can we instantiate interface in java?
What are multiple inheritances?
What is the difference between actual and formal parameters?
What is constant in programming?
What is variable length arguments in java?
What is the char data type?
What is static in java?
How do you use compareto?
What are loops in java? What are three types of loops?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?