Inheritance interview questions

Inheritance interview questions

Take as many assements as you can to improve your validate your skill rating

Total Questions: 5

1. Which among the following best describes the Inheritance?

Correct Answer is : Using the data and functions into derived segment

2. How many basic types of inheritance are provided as OOP feature?

Correct Answer is : 4

3. Which among the following best defines single level inheritance?

Correct Answer is : A class inheriting a base class

4. Which among the following is correct for multiple inheritance?

Correct Answer is : class student{public: int marks;}s; class stream{int total;}; class topper:public student, public stream{ };

5. Which programming language doesn’t support multiple inheritance?

Correct Answer is : Java

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon