Which exception is thrown by the read() method of InputStream class?
None of the above
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
Every call to wait has a corresponding call to notify that will eventually end the wafting.
The expression (x == y && a<b) is true If either x == y is true or a<b is true.
Any method in a supper class can be over ridden in its subclass.
The keywords reserved but not used in the initial version of Java re:
In order to connect to a database through java program we must create _______-
The concept of multiple inheritance is implemented in Java by
Which of the following control expressions are valid for an if statement?
Which of the following statements are valid array declarations?
All the bitwise operators have the same level of precedence in Java.
We can add more than one class(es) at the time of compilation Java Beans.
Servlet has ___________
Servlet can have ___________
It is perfectly legal to assign a subclass object to a supper class reference.
EJBs can be of the following type(s)None of the above
Which of the following methods can be used to draw the outline of a square?
A panel can not be added to another panel.
Which of the following classes are available in the java.lang package?
All methods in an abstract class must be declared abstract.
The methods wait() and noify() are defined in
Which of the following will produce a value of 10 if x = 9.7?
An individual array element that is passed to a method and modified in that method will contain the…
The break statement is required in the default case of a switch selection structure.
If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
Which of the following string can be used as mode string for creating a RandomAccessFile object?
JSP files creates ________________
Which of the following methods can be used to change the size of a size() *resize()
A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
The use of protected keyword to a member in a class will restrict its visibility as follows:
Frames and applets cannot be used together in the same program.
Which of the following keywords are used to control access to a class member?