R
Q. Which of the following is true about inheritance in Java. 1) In Java all classes inherit from the Object class directly or indirectly. The Object class is root of all classes. 2) Multiple inheritance is not allowed in Java. 3) Unlike C++, there is nothing like type of inheritance in Java where we can specify whether the inheritance is protected, public or private.
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. What is the size of a long variable in Java?
Q. The ________ connects classes and objects.
Q. What is the output of this program?
Q. Choose the operations that can be performed on String objects:
Q. Which keyword is used to declare a method that cannot be overridden in Java?
Q. Java was publicly released in
Q. Which of the following is an advantage of the statement – Separation of business logicfrom JSP ?
Q. Which command can be used to check maven version?
Q. What is the maximum number of levels possible in a Multilevel Inheritance in Java?
Discusssion
Login to discuss.