Which of the following command lines options generates documentation for all classes and 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.
It is an error if a class with one or more abstract methods is not explicitly declared abstract.
Which of the following methods can be used to draw the outline of a square?
It is an error to have a method with the same signature in both the super class and its subclass.
When the string objects are compared with ==, the result is true If the strings contain the same values.
Objects are passed to a method by use of call-by-reference.
JSP files creates ________________
The default case is always required in the switch selection structure.
DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
It is an error to catch the same type of exception in two different catch blocks associated with a particular…
The check box group class is a subclass of the component class.
Throwing an exception always causes program termination.
Servlet has ___________
If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
It is perfectly legal to refer to any instance variable inside of a static method.
The concept of multiple inheritance is implemented in Java by
Java always provides a default constructor to a class.
Which of the following will produce a value of 10 if x = 9.7?
forName() is a static factory method
Which of the following represent legal flow control statements?
A Java monitor must either extend thread class or implement Runnable interface.
Submit button always fires doPost(...)
What does the following line of code do?TextField text=new TextField(10);
In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
Every call to wait has a corresponding call to notify that will eventually end the wafting.
The programmer must explicitly create the system .in and system .out objects.
Which of the following will produce a value of 22 if x=22.9:
The name of the RMI compiler is ___________
executeUpdate automatically updates data because___________
Any method in a supper class can be over ridden in its subclass.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter