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 use cases?
What is data type modifier?
How do weakhashmap works?
Write a program to print fibonacci series
What is the java reflection api? Why it’s so important to have?
What is a nullable field?
Write a program to calculate factorial in java?
What are the 4 types of research methods?
What are the advantages of user defined functions?
Can we override compareto method?
Can an object be null?
Which software is used for java programming?
Do you know how to reverse string in java?
Difference between overriding and overloading in java?
What does it mean that a method or field is “static”?