In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean expressions are not always evaluated.
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.
It is perfectly legal to refer to any instance variable inside of a static method.
An EJB is a server-side component that encapsulates the business logic of an application
Objects are passed to a method by use of call-by-reference.
Which of the following control expressions are valid for an if statement?
Which of the following statements are true?
A catch can have comma-separated multiple arguments.
The length of a string object 's1' can be obtained using the expression s1.length.
A JSP file can be stored_________________
JdbcOdbcDriver is an object of Object class
It is an error to catch the same type of exception in two different catch blocks associated with a particular…
Which are the valid ways to create DataInputStream streams?
A string object can not be modified after it is created.
One the features of is that an array can store many different types of values.
When the string objects are compared with ==, the result is true If the strings contain the same values.
The default case is always required in the switch selection structure.
If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
The check box group class is a subclass of the component class.
forName() is a static factory method
A method declared as static can not access non-static class members.
putValue(...) method takes _____________________-
DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
The concept of multiple inheritance is implemented in Java by
For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
Two methods cannot have the same name in Java.
Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
Throwing an exception always causes program termination.
We would like to make a member of a class visible in all subclasses regardless of what package they…
Any class may be inherited by another class in the same package.
A constructor must always invoke its supper class constructor in its first statement.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter