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
How are variables stored?
Explain the difference between arraylist and linkedlist in java?
What is functional interface in java example?
Why does java not allow multiple public classes in a java file ?
What do you mean by ordered and sorted in collections in java?
Differences between external iteration and internal iteration?
How to reverse a string in java?
Differentiate between run time error and syntax error.
List the three steps for creating an object for a class?
What does mean in regex?
What is the difference between super class & sub class?
What is a method declaration?
What is blank final variable?
what is the purpose of using rmisecuritymanager in rmi?
Explain how to convert any java object into byte array.