Java - Online Test - Oracle - 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 'Oracle' - 12 questions found
Which of the following is not possible ?
try block followed by catch
try block followed by finally
try block followed by catch block and then finally
try block without catch or finally block
Which of the following class creates mutable objects ?
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
When String literals are compared using ==, they always returns true if the string values are same because ..
of overridden compareTo method
of overridden compare method
of String Pool
== means that the object contents are equal
Which of the following class creates immutable objects ?
None of these create immutable objects.
What is Lazy Initialization in Hibernate ?
Feature to load the dependencies from Cache
Feature to load all objects and relationships in advance before they can be used
Feature to not load dependencies and relationship in advance and load when required
Feature to not load the dependencies and relationships at all
Which of the following is not the benefit of Lazy Initialization in Hibernate ?
Laod When required provides better performance
Object stays lighter
Less number of Database calls
Less load on Database
Binary Search requires that the collection should be
Sorted in Ascending Order
Sorted in Descending Order
Sorted in any Order
Which Database feature assist in ACID capabilities ?
Which of the following is a Marker Interface ?
Both Serializable and Cloneable
In which case finally won't get executed ?
in case of exception
in case of normal execution
in case of return statement before end of try block
in case of force program termination
Which memory segment holds String Pool ?
comments powered by Disqus.
comments powered by