Which of the following keywords are used to control access to a class member?
None of the above
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
The programmer must explicitly create the system .in and system .out objects.
Servlet has ___________
In RMI before running the client program we must start RMI Registry.
The break statement is required in the default case of a switch selection structure.
Connection, Statement are interfaces and ResultSet is a class.
With javadoc, which of the following denotes a javadoc comment?
In order to connect to a database through java program we must create _______-
Which exception is thrown by the read() method of InputStream class?
The methods wait() and noify() are defined in
All the bitwise operators have the same level of precedence in Java.
Which of the following will produce a value of 10 if x = 9.7?
When the string objects are compared with ==, the result is true If the strings contain the same values.
If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
When we implement an interface method, it should be declared as public.
A Java monitor must either extend thread class or implement Runnable interface.
It is perfectly legal to assign a subclass object to a supper class reference.
A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
A method declared as static can not access non-static class members.
Which of the following command lines options generates documentation for all classes and methods?
When we implement the Runnable interface, we must define the method
A class may be both abstract and final.
Which of the following statements are true?
forName() is a static factory method
In a single Servlet class we can use____________
A string object can not be modified after it is created.
The check box group class is a subclass of the component class.
A static class method can be invoked by simply using the name of the method alone.
Which of the following represent legal flow control statements?
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter