Two methods cannot have the same name in Java.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
The name of the RMI compiler is ___________
When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
The programmer must explicitly create the system .in and system .out objects.
A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
Frames and applets cannot be used together in the same program.
We can add more than one class(es) at the time of compilation Java Beans.
Which of the following are keywords?
Servlet has ___________
In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
What is java -g used for?
It is perfectly legal to refer to any instance variable inside of a static method.
A JSP file can be stored_________________
The import statement is always the first no comment statement in a Java program files.
The break statement is required in the default case of a switch selection structure.
The name of a Java program file must match the name of the class with the extension Java.
putValue(...) method takes _____________________-
One the features of is that an array can store many different types of values.
The expression (x == y && a<b) is true If either x == y is true or a<b is true.
Submit button always fires doPost(...)
For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
The keywords reserved but not used in the initial version of Java re:
If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
Any class may be inherited by another class in the same package.
In the code below, what data types the variable x can have?
Which of the following classes are available in the java.lang package?
Declaring a method synchronized guarantees that the deadlock cannot occur.
Which of the following keywords are used to control access to a class member?
A Java monitor must either extend thread class or implement Runnable interface.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter