J
Q. What is the result of compiling and running the following code?
class Base{ private Base(){ System.out.print("Base"); } } public class test extends Base{ public test(){ System.out.print("Derived"); } public static void main(String[] args){ new test(); } }
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. Which keyword is used to handle exceptions in Java?
Q. Application is instance of which class?
Q. In the following JDBC drivers which is known as fully java driver?
Q. File extension of a view state’s name which is by default loaded by facelet page.
Q. What is the output of the Java program?
Q. What is the default value of an element of Object type array?
Q. In java a _______ is a sequence of characters.
Q. The server listens for a connection request from a client using which of the following statement?
Discusssion
Login to discuss.