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 use cases?

554


What is data type modifier?

522


How do weakhashmap works?

581


Write a program to print fibonacci series

606


What is the java reflection api? Why it’s so important to have?

548






What is a nullable field?

571


Write a program to calculate factorial in java?

577


What are the 4 types of research methods?

504


What are the advantages of user defined functions?

545


Can we override compareto method?

496


Can an object be null?

540


Which software is used for java programming?

547


Do you know how to reverse string in java?

577


Difference between overriding and overloading in java?

567


What does it mean that a method or field is “static”?

543