What are the OOPS concepts?

Answer Posted / sivabalaselvamani

1)Object-Instance of the class
2)Classes-Combination of Data members and member functions
3)Data Abstraction-Abstracting the data and functions from
unwanted users.
4)Data Encapsulation-Wrapping up of Data members and member
functions.
5)Inheritance-Passing the values from one object to anther
object.
6)Message Passing-Messages can possible from one object to
anther object
7)Polymorphism-its like function over loading.
Poly-Many, morphism-Forms
8)Robust and Securisam-its for security purpose

Is This Answer Correct ?    151 Yes 63 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1584


Why is there no multiple inheritance?

572


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

944


Write a program to reverse a string using recursive function?

1795


What is cohesion in oop?

624






What is the important feature of inheritance?

637


Can abstract class have normal methods?

616


what is difference between class template and template class?

2160


How does polymorphism work?

635


What is property in oops?

569


Can we override main method?

609


What is destructor example?

601


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6155


What is an interface in oop?

596


What is the benefit of oop?

570