Java - Online Test - Java keyword - javasearch.buggybread.com
OCJP / SCJP
New in Java 8
Java 8 Lambda
Java 8 java.time
Search Java Test Questions
223 test questions in repository.
Java - Test Questions on 'java keyword' - 10 questions found
Which of the following is wrong for final instance variables ?
They cannot be changed after initialization
They can be initialized directly within static method
They can be declared and initialized together at the same place
They can be initialized within constructor
Which of the following is false for final ?
Final methods cannot be overriden
Final methods cannot be overloaded
Final classes cannot be subclassed
Final class cannot be abstract
Which of the following combination of keywords is illegal in Java ?
static and transient
transient and final
static and synchronized
abstract and final
Which of the following keyword is not permitted for outer class ?
The use of volatile keyword facilitates ..
Making Use of Cache for better Performance
Avoiding use of Cache
Making use of Backward as well as Forward Cache
Keeping only one copy of variable in Cache
Which of following keyword is not allowed for Outer Class ?
Which of the following keyword restrict the class from being extended ?
Which of the following keyword restrict the class from being instantiated ?
Which of the following is true ?
We can serialize static variables
We can serialize transient variables
We can serialize final variables
We can serialize instance methods
Which of following are serialized ?
method local variables
comments powered by Disqus.
comments powered by