What is not type of inheritance?
Single inheritance
Double inheritance
Hierarchical inheritance
Multiple inheritance
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
| # | Quiz |
|---|---|
|
1
Discuss
|
Does Java support multiple level inheritance?
Solution |
|
2
Discuss
|
All classes in Java are inherited from which class?
Solution |
|
3
Discuss
|
What would be the result if a class extends two interfaces and both have a method with same name and signature? Lets assume that the class is not implementing that method.
Solution |
|
4
Discuss
|
A class member declared protected becomes a member of subclass of which type?
Solution |
|
5
Discuss
|
Which of these is correct way of inheriting class A by class B?
Solution |
|
6
Discuss
|
Which of this keyword must be used to inherit a class?
Solution |
|
7
Discuss
|
Which of the following is used in implementing inheritance through class?
Solution |
|
8
Discuss
|
Which of the following is used for implementing inheritance through an interface?
Solution |
|
9
Discuss
|
In order to restrict a variable of a class from inheriting to subclass, how variable should be declared?
Solution |
|
10
Discuss
|
Using which of the following, multiple inheritance in Java can be implemented?
Solution |
| # | Quiz |
Copyright © 2020 Inovatik - All rights reserved