Please tell me the oops concept with detailed answer
Answer Posted / saranya
the basic concepts of OOP's are
1.class- it is a collection of variables and methods
2.odjects- it is the run time entity(it is same as real
world objects)
3.data abstraction and encapsulation-essential features of
data not including the background details
4.polymorphism-same name with more than one form
5.inheritance-concept of acquiring the base class properties
there are 5 types of inheritance
1.single inheritance
2.multiple inheritance
3.multilevel inheritance
4.hierarchical inheritance
5.hybrid inheritance
6.dynamic binding- data bind at runtime
7.message passing-communicating information with one another
| Is This Answer Correct ? | 21 Yes | 2 No |
Post New Answer View All Answers
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
Write a c++ program to display pass and fail for three student using static member function
Why do we use polymorphism in oops?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is polymorphism explain its types? What is difference between inheritance and polymorphism? What is property in oops? assume the program must insert 4 elements from the key board
and then do the following programs.sequential search(search
one of the elements),using insertion sort(sort the element)
and using selection sort(sort the element). What is interface in oop? What is abstraction in oops with example? What are properties in oop? What is polymorphism used for? Why it is called runtime polymorphism? What is an interface in oop? Why do we use polymorphism?