Sunday, 9 November 2014

Java Quiz Question and Answers - Part 5

                             Java Quiz Exam Oriented


Question 1: Out is a predefined instance variable of the type Printstream class.
Select one:
True
False


Question2: super keyword calls super class constructor.
Select one:

True
False


Question 3: + acts as polymorphic behavior in java
Select one:
True
False  


Question 4: if the class is declared as final,the class canot be extneded.
Select one:
True
False


Question 5: A package statement can occur either before or after import statements.
Select one:
True
False


Question 6: It is possible to have two methods in the same class that have the same name, the same number and types of arguments, but different return types.
Select one:
True
False


Question 7: In every constructor ,compiler will write super(), if super() is  not there.
Select one:
True
False


Question 8: Any class member except a constructor can be static.
Select one:
True
False



0 comments:

Post a Comment