Sunday, 9 November 2014

Java Quiz Question and Answers - Part 4

                       Java Quiz Exam Oriented


Question 1:  we can call static method with object name.
Select one:
True
False

Question 2: we can declare an int array without size.
Select one:
True
False

Question 3: Private methods can be  overridden in sub class
Select one:
True
False

Question 4: equals() is ovveriden in StringBuffer class.
Select one:
True
False

Question 5: && operator only applied to boolean operations.
Select one:
True
False

Question 6: A class cannot overload its constructors
Select one:
True
False  

Question 7: sub class object can access super class members including private members.
Select one:
True
False

Question 8: even no main  method ,your java program  will compile
Select one:
True
False

Question 9: default value for class type variable is NULL.
Select one:
True
False

Question 10: there is no constraint, having public classes in a java file.
Select one:
True
False



0 comments:

Post a Comment