Explain the concept of inheritance in C++.
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
Inheritance allows one class (derived class) to acquire the properties and methods of another class (base class). Types: single, multiple, multilevel, hierarchical, hybrid.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
Inheritance allows one class (derived class) to acquire the properties and methods of another class (base class). Types: single, multiple, multilevel, hierarchical, hybrid.
| Is This Answer Correct ? | 0 Yes | 0 No |
Inheritance allows one class (derived class) to acquire the properties and methods of another class (base class). Types: single, multiple, multilevel, hierarchical, hybrid.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is tellg () in c++?
Can we run c program in turbo c++?
What is a dangling pointer?
What is the arrow operator in c++?
What is c++ redistributable?
Which should be more useful: the protected and public virtuals?
Badboy is defined who has ALL the following properties: 1. Does not have a girlfriend and is not married. 2. He is not more than 23 years old. 3. The middle name should be "Singh" 4. The last name should have more than 4 characters. 5. The character 'a' should appear in the last name at least two times. 6. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
Explain the ISA and HASA class relationships. How would you implement each in a class design?
List out some of the OODBMS available?
What is a memory leak c++?
What is the sequence of destruction of local objects?
What is the size of integer variable?