1. Which of the abstract class will fail to compile?
A
B
C
D
2. What will be the output?
A. 50
B. Compilation Error
C. 10
D. Exception
3. What will be the output?
A. -127
B. 127
C. 129
D. 128
4. Arrays in java are
A. object reference
B. objects
C. primitive data type
D. None
5. What will be the output?
A. 0
B. Not a Number
C. Run time Exception
D. Infinity
6. Which option is false about the final keyword?
A. A final method cannot be overridden in its subclasses.
B. A final class cannot be extended.
C. A final class cannot extend other classes.
D. A final method can be inherited.
0
{"name":"Java Quiz", "url":"https://www.quiz-maker.com/Q31MON8DD","txt":"1. Which of the abstract class will fail to compile?, 2. What will be the output?, 3. What will be the output?","img":"https://www.quiz-maker.com/3012/CDN/80-3780422/capture.jpg?sz=1200-00000004120975706395"}