Java is a powerful general-purpose programming language.
# | Quiz |
---|---|
1
Discuss
|
JRE
Which component is responsible to run java program?
Solution |
10
Discuss
|
Variable
Which of these is long data type literal?
Solution |
100
Discuss
|
Inheritance
What will be the output of the following Java program?
Solution |
101
Discuss
|
Inheritance
What will be the output of the following Java program?
Solution |
102
Discuss
|
Inheritance
Which of these is correct way of inheriting class A by class B?
Solution |
103
Discuss
|
Inheritance
A class member declared protected becomes a member of subclass of which type?
Solution |
104
Discuss
|
Inheritance
What is not type of inheritance?
Solution |
105
Discuss
|
Inheritance
Does Java support multiple level inheritance?
Solution |
106
Discuss
|
Inheritance
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 |
107
Discuss
|
Inheritance
Which of the following is used in implementing inheritance through class?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved