Servlet has ___________
All of the above methods.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
The name of a Java program file must match the name of the class with the extension Java.
When we implement the Runnable interface, we must define the method
class.forName(...) creates an instance of java ODBC driver
In the code below, what data types the variable x can have?
Which of the following control expressions are valid for an if statement?
A Java monitor must either extend thread class or implement Runnable interface.
Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
We would like to make a member of a class visible in all subclasses regardless of what package they…
Every method of a final in class is implicitly final.
In order to connect to a database through java program we must create _______-
The keywords reserved but not used in the initial version of Java re:
A catch can have comma-separated multiple arguments.
Which of the following statements are valid array declarations?
The use of protected keyword to a member in a class will restrict its visibility as follows:
EJBs can be of the following type(s)None of the above
In RMI we invoke client method from remote server
When present, package must be the first no comment statement in the file.
The programmer must explicitly create the system .in and system .out objects.
If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
A static class method can be invoked by simply using the name of the method alone.
executeUpdate(------------) returns ___________
Which javadoc tag is used to denote a comment for methods parameters?
Which of the following represent legal flow control statements?
JdbcOdbcDriver is an object of Object class
The setBackground() method is part of the class
A package is a collection of
Members of a class specified as private are accessible only to the methods of the class.
Every call to wait has a corresponding call to notify that will eventually end the wafting.
A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
It is perfectly legal to assign a subclass object to a supper class reference.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter