Answer Posted / jitendra rajurkar
In .Net realm a child class can inherit methods and
properties from only one parent class and that parent class
can be either abstract class or any other class.Also Child
class can inherit methods and properties from multiple
interfaces.
class DerivedClass:AbstractClass,InterafaceA,InterfaceB
{
public void main()
{
DerivedClass obj o = new DerivedClass();
o.MethodfromAbstractclass;
o.MehtodfromInterfaceA;
o.MethodfromInterfaceB;
}
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Are polymorphisms mutations?
What is destructor give example?
What is oops in simple words?
What are oops functions?
write a program to find 2^n+1 ?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
which feature are not hold visual basic of oop?
what are the different types of qualifier in java?
What are the benefits of oop?
What is the main purpose of inheritance law?
What does and I oop and sksksk mean?
What is constructor in oop?
What is polymorphism used for?
How do you define social class?
class type to basic type conversion