Answer Posted / jyoti lohani
the parent class behaviour & properties are define in child
class that's call inheritance. if child class inherit more
then one parent class that call multiple inheritance.
EX: class X
{
/* ---*/
}
class y
{
/*----*/
}
class z:x,y
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What are two types of polymorphism?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Can you explain polymorphism? What is static modifier? What is the main feature of oop? what type of questions Write a program to sort the number with different sorts in
one program ??
what is the sylabus for priliminaries? Can we create object of abstract class? How is class defined? What is encapsulation process? What is encapsulation with example? What is overloading in oops? Why is polymorphism needed? What is the diamond problem in inheritance?