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 interface is extended by awt event listeners?
What is the difference between stringbuffer and stringbuilder class?
What is the use of string and stringbuffer?
How many digits is int32?
How do you escape sequences in java?
What is hash in java?
What are generic methods?
Why is whitespace important?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
is there a separate stack for each thread in java? : Java thread
Is node a data type in java?
Is java a prime method?
What are Normalization Rules? Define Normalization?
What is concurrent hashmap and its features?
What is type safety in java?