With javadoc, which of the following denotes a javadoc comment?
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 programmer must explicitly create the system .in and system .out objects.
In the code below, what data types the variable x can have?
A JSP file can be stored_________________
In order to connect to a database through java program we must create _______-
Which of the following are keywords?
The break statement is required in the default case of a switch selection structure.
Submit button always fires doPost(...)
Servlet has ___________
All the bitwise operators have the same level of precedence in Java.
Which of the following are not keywords?
Which key word can protect a class in package from accessibility by the classes outside the package?
The import statement is always the first no comment statement in a Java program files.
In a single Servlet class we can use____________
It is perfectly legal to refer to any instance variable inside of a static method.
If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
EJBs can be of the following type(s)None of the above
class.forName(...) creates an instance of java ODBC driver
Which of the following represent legal flow control statements?
The expression (x == y && a<b) is true If either x == y is true or a<b is true.
What does the following line of code do?TextField text=new TextField(10);
In RMI before running the client program we must start RMI Registry.
JSP files creates ________________
Two methods cannot have the same name in Java.
A method declared as static can not access non-static class members.
Throwing an exception always causes program termination.
Any class may be inherited by another class in the same package.
Give file is a file object, which of the following are legal statements to create a new file.
DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
A string object can not be modified after it is created.