When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
Java is fully object oriented programme.
It is perfectly legal to assign a subclass object to a supper class reference.
The name of a Java program file must match the name of the class with the extension Java.
Which of the following are not keywords?
The default case is always required in the switch selection structure.
A package is a collection of
Which of the following statements are true?
The keywords reserved but not used in the initial version of Java re:
Any class may be inherited by another class in the same package.
The name of the RMI compiler is ___________
A constructor must always invoke its supper class constructor in its first statement.
Servlet can have ___________
Which of the following command lines options generates documentation for all classes and methods?
Declaring a method synchronized guarantees that the deadlock cannot occur.
Frames and applets cannot be used together in the same program.
Any method in a supper class can be over ridden in its subclass.
A panel can not be added to another panel.
A final class may not have any abstract method.
The use of protected keyword to a member in a class will restrict its visibility as follows:
For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
Which of the following methods can be used to remove a component from the display?
The concept of multiple inheritance is implemented in Java by
Which of the following methods can be used to change the size of a size() *resize()
Which exception is thrown by the read() method of InputStream class?
Java always provides a default constructor to a class.
Which of the following represent legal flow control statements?
The modulus operator (%) can be used only with Integer operands.
If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter