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 is encapsulation with real life example?
What are two types of polymorphism?
What are the benefits of interface?
Write a program to sort the number with different sorts in one program ??
What is the problem with multiple inheritance?
write string class as your own class in java without using any built-in function
Why is there no multiple inheritance?
What is coupling in oop?
What does oop mean in snapchat?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
what are the ways in which a constructors can be called?
Can you explain polymorphism?
What is encapsulation example?