JAVA Inheritance-and-super-keyword Online Test
Advertisement
Advertisement
Instructions:
- Total number of questions: 10.
- Time allotted: 10 minutes.
- Each question carries 1 mark.
- No negative marks.
- DO NOT refresh the page.
- All the best :-)
What You Will Learn:
This Java Inheritance & Super Keyword Online Test helps you to Boost your Knowledge in Java. In this test, we cover topics in the form of questions like:
- IS-A relationship modeling using the extends keyword.
- Why Java disallows multiple class inheritance (the Diamond Problem).
- Accessing superclass members and constructors using the super keyword.
- Method overriding rules, @Override annotation, and covariance in return types.
- Method hiding vs method overriding when redefining static methods in subclasses.
- Preventing inheritance and overriding with the final modifier on classes and methods.
Advertisement
Advertisement
Advertisement
Java Inheritance-and-super-keyword Online Test
Question 1 of 10
Time Remaining:
10:00
Score:
0 /
10
Loading...
0% Complete
Advertisement
Advertisement