A class may be both abstract and final.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
Connection, Statement are interfaces and ResultSet is a class.
It is perfectly legal to assign a subclass object to a supper class reference.
The setBackground() method is part of the class
The name of a Java program file must match the name of the class with the extension Java.
The import statement is always the first no comment statement in a Java program files.
Which of the following methods belong to the String class?
All the bitwise operators have the same level of precedence in Java.
Java always provides a default constructor to a class.
putValue(...) method takes _____________________-
The concept of multiple inheritance is implemented in Java by
Which of the following are keywords?
It is an error to catch the same type of exception in two different catch blocks associated with a particular…
A constructor must always invoke its supper class constructor in its first statement.
We can add more than one class(es) at the time of compilation Java Beans.
Any class may be inherited by another class in the same package.
The programmer must explicitly create the system .in and system .out objects.
Which of the following control expressions are valid for an if statement?
A panel can not be added to another panel.
A string object can not be modified after it is created.
The keywords reserved but not used in the initial version of Java re:
EJBs can be of the following type(s)None of the above
Every method of a final in class is implicitly final.
When we invoke repaint () for a Component, the AWT invokes the method:
Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
The check box group class is a subclass of the component class.
class.forName(...) creates an instance of java ODBC driver
In the code below, what data types the variable x can have?
JSP files creates ________________
JdbcOdbcDriver is an object of Object class
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter