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.
It is an error to catch the same type of exception in two different catch blocks associated with a particular…
Two methods cannot have the same name in Java.
Servlet has ___________
A string object can not be modified after it is created.
Which javadoc tag is used to denote a comment for methods parameters?
Frames and applets cannot be used together in the same program.
The expression (x == y && a<b) is true If either x == y is true or a<b is true.
Which of the following classes are available in the java.lang package?
Which of the following are keywords?
executeUpdate(------------) returns ___________
A static class method can be invoked by simply using the name of the method alone.
The break statement is required in the default case of a switch selection structure.
The keywords reserved but not used in the initial version of Java re:
Throwing an exception always causes program termination.
All the bitwise operators have the same level of precedence in Java.
Give file is a file object, which of the following are legal statements to create a new file.
Objects are passed to a method by use of call-by-reference.
Connection, Statement are interfaces and ResultSet is a class.
The default case is always required in the switch selection structure.
A final class may not have any abstract method.
Which of the following string can be used as mode string for creating a RandomAccessFile object?
It is perfectly legal to assign a subclass object to a supper class reference.
In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
Which of the following statements are true?
class.forName(...) creates an instance of java ODBC driver
Which of the following will produce a value of 10 if x = 9.7?
Which of the following control expressions are valid for an if statement?
The import statement is always the first no comment statement in a Java program files.
Which exception is thrown by the read() method of InputStream class?
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter