All methods in an abstract class must be declared abstract.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
putValue(...) method takes _____________________-
We would like to make a member of a class visible in all subclasses regardless of what package they…
Which of the following will produce a value of 22 if x=22.9:
The programmer must explicitly create the system .in and system .out objects.
Which of the following methods can be used to draw the outline of a square?
If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
Any class may be inherited by another class in the same package.
Throwing an exception always causes program termination.
The break statement is required in the default case of a switch selection structure.
One the features of is that an array can store many different types of values.
Servlet has ___________
In RMI we invoke client method from remote server
Which of the following methods can be used to remove a component from the display?
It is perfectly legal to refer to any instance variable inside of a static method.
JdbcOdbcDriver is an object of Object class
In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
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 panel can not be added to another panel.
executeUpdate(------------) returns ___________
In RMI before running the client program we must start RMI Registry.
Which key word can protect a class in package from accessibility by the classes outside the package?
Which of the following will produce a value of 10 if x = 9.7?
The setBackground() method is part of the class
A variable declared inside the for loop control can not be referenced out side the loop.
Which of the following are the wrapper classes?
Declaring a method synchronized guarantees that the deadlock cannot occur.
When we invoke repaint () for a Component, the AWT invokes the method:
A method declared as static can not access non-static class members.
Submit button always fires doPost(...)
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter