Java - Online Test - Variables - javasearch.buggybread.com


Share

Search Java Test Questions


 223 test questions in repository.




Java - Test Questions on 'Variables' - 5 questions found


Variables of an interface are intrinsically ... Core Java
transient
final
public
static

  java  interface  interface variables

What is an instance variable?Core Java
An instance or object of an class
The field of an object
Any variable of a class
None of the above

  java  oops  oop  instance variable  variables

Which of the following can be marked static ?Core Java
Methods , Variables and Initialization Blocks.
Methods , Variables , Initialization Blocks and Outer Classes and nested Classes.
Methods , Variables , Initialization Blocks and Outer Classes.
Methods , Variables , Initialization Blocks and nested Classes.

  oops  java  static  nested classes  static nested classes

Which of the following is true ?Core Java
We can serialize static variables
We can serialize transient variables
We can serialize final variables
We can serialize instance methods

  serialization  java  file io

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

  serialization







comments powered by Disqus