It is an error to catch the same type of exception in two different catch blocks associated with a particular try block.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
A string object can not be modified after it is created.
Every call to wait has a corresponding call to notify that will eventually end the wafting.
Which of the following command lines options generates documentation for all classes and methods?
All the bitwise operators have the same level of precedence in Java.
A panel can not be added to another panel.
One the features of is that an array can store many different types of values.
The concept of multiple inheritance is implemented in Java by
The length of a string object 's1' can be obtained using the expression s1.length.
Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
All methods in an abstract class must be declared abstract.
The expression (x == y && a<b) is true If either x == y is true or a<b is true.
putValue(...) method takes _____________________-
A constructor must always invoke its supper class constructor in its first statement.
In a single Servlet class we can use____________
Which of the following string can be used as mode string for creating a RandomAccessFile object?
The methods wait() and noify() are defined in
Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
Which of the following are the wrapper classes?
The break statement is required in the default case of a switch selection structure.
Which of the following will produce a value of 10 if x = 9.7?
Frames and applets cannot be used together in the same program.
Declarations can appear anywhere in the body of a Java method.
Which of the following represent legal flow control statements?
Servlet has ___________
In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
Which of the following statements are true?
In order to connect to a database through java program we must create _______-
Which of the following methods can be used to remove a component from the display?
EJBs can be of the following type(s)None of the above
The modulus operator (%) can be used only with Integer operands.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter