A) Using Extends KeywordB) Using Imports KeywordC) Using Override keywordD) None
There is no Extends keyword that is for flash and java it should be Inherits ...
Well C# doesn't support multiple inheritance through classes.If you want to have multiple inheritance in your program, you need to make use of interfaces. A class cannot inherit from more than one class but a class can inherit from more ...
There are five types of inheritance.
1. Single inheritance
2. Multilevel inheritance
3. Multiple inheritance
4. Hierarchical inheritance
5. Hybrid inheritance ...
Skill/Topic: InheritanceA) TrueB) False
Yes, It's true.Through the use of inheritance, programmers can reuse the code in the superclass many times in there Program. ...
yes this is absoluetly true, in java we dont hav multiple inhet. actually multiple inheritance means a drive class is having mare than one base class. just as it will create the popular diomound problemeg. class A is a bAse class Class B and Class C are ...
Key word for inheritance used inheritsexample Class Parent Public i As Integer = 5Public Overridable Sub MyMethod() Console.WriteLine("I am Parent's MyMethod()")End Sub End ClassClass Child Inherits ParentPublic Overrides Sub MyMethod() ...
let us analyze this in real world OO model:Can a puppy(small dog) extends Cow and Dog? It should be only puppy extends Dog, not both. Puppy(small dog) can't have charectrestics of Cow and Dog ...
No, In Inheritance only the public and protected memberes of the base class can b inherited by the derived class. Private members r only accessible to the member functions of the class. ...
Skill/Topic: IntermediateA) YesB) No
C# does not support multiple implementation inheritance. A class cannot be derived from more than one class. However, a class can be derived from multiple interfaces.Conclusion: the correct answer is that C# does support multiple inheritance as long there ...
PHP support the Multilevel inheritance Not a multiple inheritance. For Example: class A{ function hello(); } // This is possible. class B extends A{ function helloB(); ...
View page << Previous 1 [2] 3 4 5 6 7 8 9 Next >>

Go Top