Java - Online Test - Computer sciences corporation (csc) -


Search Java Test Questions

 223 test questions in repository.

Java - Test Questions on 'Computer sciences corporation (csc)' - 6 questions found

Which of the following is not type of inner classes ?Core Java
Simple Inner Class
Static Nested Inner Class
Method Nested Static Inner Class
Anonymous Inner Class

  java  classes  inner classes  nested classes

Which of the following about Garbage collection is false ?Core Java
We can call Garbage collection explicitly
Garbage Collection guarantees that the application will not run out of memory
finalize method is used by Java for Garbage Collection
Garbage Collection Mechanism delete unclaimed objects that are no longer required

  garbage collection

Which of the following is a Marker Interface ?Core Java
Both Serializable and Cloneable

  marker interface  interfaces

Which of the following can be overridden ?Core Java
final instance methods
final static methods
non final instance methods
non final static methods


Which of following are serialized ?Core Java
static variables
transient variables
instance variables
method local variables


Which of following can be nested into another ?Core Java
class within another class
class within interface
interface within class
All of above

  nested classes   nested interface  inner classes

comments powered by Disqus