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

Is space a char?

534


What is java string pool?

545


What is the mapping mechanism used by java to identify IDL language?

591


What is meant by class?

543


List some important features of java 10 release?

515






What are java methods?

576


Is set thread safe java?

504


Can a class have multiple subclasses?

586


What is a class component?

615


How are variables stored?

533


what is meant by abstract class?

652


What is keyset in java?

655


What is unicode in java?

506


Is namespace same as package in java?

543


What class allows you to read objects directly from a stream?

870