comments
to eleminate ambiguity error java does not support multiple inheritance ...
The Main facts for Inheritence to any thing that is it should worked as Base. And Structure could not worked as Base due to it is Value type. So, Inheritence is not supported by Structure. ...
what is inheritance? why we use it? plzz can anybody explain me with one example and where we use that concept?
The main use of inheritance is to provide reusability of codes .Through inheritance base class objects and functions are acquired by derived class so there is no need to specify it again in derived class ...
Inheritance means able to inherete the class from base class. The inherete class called derived class.The main advantage of the inheritance if any modification done origanl class safe.This is for reusable. ...
Inheritance is the process of creating new classes, called derived classes, from existing classes or base classes. The derived class inherits all the capabilities of the base class, but can add embellishments
hi,Inheritance is the process of creating a new class called derived class from the existing class called base class. ...
You are looking at a class diagram that another developer has drawn. You notice a solid black diamond and a line linking two classes together. What does the black diamond imply in UML?A Aggregation B Association C Composite Aggregation / Composition D Dependency E Inheritance/Generalization
Answer: D
As long as no diamond problems (improper inheritance), single or multiple inheritance can all be proper inheritance. When usng multiple inheritance with diamond problem, you can use virtual inheritance to make the multiple inheritance a proper one. ...
C++ is similar to that of C in following waysA. C++ has classesB. Supports InheritanceC. File HandlingD. None
Can I know why it is so ...
Skill/Topic: IntermediateA) TrueB) FalseExplanation: Only classes can inherit. Structs can’t.
Actually Interfaces are 'Implemented' & never 'Inherited'.So this sounds technically correct that Structs does not support Inheritance. ...
View page << Previous 1 2 [3] 4 5 6 7 8 9 Next >>

Go Top