This online Java exam consists of questions you can expect to see during
various competitions, written exams and certification exams. Reading books
after books without practicing the sample exam questions can't help you crack
the exam. Take this online Java exam consisting of 40 questions and see how
many questions you get right and in how much time. The score at the end of the
exam says it all!
Online Practice
Test > Java Test
Here are few sample Java online exams questions
What is the difference between throw and throws?
The throws key word is used to explicitly throw an exception, while throw is
utilized to handle checked exceptions
The throw key word is used to implicitly throw an exception, while throws is
utilized to handle checked exceptions
The throws key word is used to implicitly throw an exception, while throw is
utilized to handle checked exceptions
The throw key word is used to explicitly throw an exception, while throws is
utilized to handle checked exceptions
Which of the following below are valid isolation levels in J2EE?
TRANSACTION_READ_UNCOMMITTED:
Both a and c
TRANSACTION_SERIALIZABLE
TRANSACTION_SERIALIZABLE_COMMIT
What is the purpose of code attribute of applet tags?
A URL that points to the class of the applet
A URL to the applet when it is stored in a Java Archive or ZIP file
Indicates the base URL of the applet if the code attribute is relative
Defines the horizontal spacing around the applet
.
Click here to
start Java online practice exams
More Links
Once an application finds an exception, responds an exception by throwing
another exception. It causes another exception. Knowing an exception that
causes another exception is very useful.....................
The term exception lets the programmer to know that there is something
exceptional has occurred in the program. Apart from Java exception class
library, a custom.................
|