An EJB is a server-side component that encapsulates the business logic of an application
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
The import statement is always the first no comment statement in a Java program files.
EJBs can be of the following type(s)None of the above
A final class may not have any abstract method.
Which of the following statements are true?
In order to connect to a database through java program we must create _______-
Which of the following are the wrapper classes?
We can add more than one class(es) at the time of compilation Java Beans.
Objects are passed to a method by use of call-by-reference.
When we implement the Runnable interface, we must define the method
Which javadoc tag is used to denote a comment for methods parameters?
Members of a class specified as private are accessible only to the methods of the class.
What is java -g used for?
Java always provides a default constructor to a class.
Give file is a file object, which of the following are legal statements to create a new file.
The programmer must explicitly create the system .in and system .out objects.
Which of the following command lines options generates documentation for all classes and methods?
When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
The methods wait() and noify() are defined in
executeUpdate automatically updates data because___________
Given the codeString s = new String("abc");Which of the following calls are valid?
In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
Which of the following will produce a value of 10 if x = 9.7?
For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
A Java monitor must either extend thread class or implement Runnable interface.
A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
Which of the following methods can be used to draw the outline of a square?
We can over load methods with differences only in their return type.
Which of the following represent legal flow control statements?
Servlet can have ___________
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter