All the bitwise operators have the same level of precedence in Java.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
A package is a collection of
In RMI we invoke client method from remote server
Servlet can have ___________
A class may be both abstract and final.
Which of the following represent legal flow control statements?
DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
An individual array element that is passed to a method and modified in that method will contain the…
When present, package must be the first no comment statement in the file.
Which of the following will produce a value of 10 if x = 9.7?
The name of the RMI compiler is ___________
Which of the following methods belong to the String class?
The name of a Java program file must match the name of the class with the extension Java.
It is an error to catch the same type of exception in two different catch blocks associated with a particular…
Which of the following statements are valid array declarations?
The expression (x == y && a<b) is true If either x == y is true or a<b is true.
Java is fully object oriented programme.
The import statement is always the first no comment statement in a Java program files.
We can add more than one class(es) at the time of compilation Java Beans.
To delete a file, we can use an instance of class file.
A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
Every call to wait has a corresponding call to notify that will eventually end the wafting.
For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
It is an error if a class with one or more abstract methods is not explicitly declared abstract.
A static class method can be invoked by simply using the name of the method alone.
When we invoke repaint () for a Component, the AWT invokes the method:
Which of the following control expressions are valid for an if statement?
A variable declared inside the for loop control can not be referenced out side the loop.
The setBackground() method is part of the class
If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
Frames and applets cannot be used together in the same program.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter