Which of the following are keywords?
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
Which key word can protect a class in package from accessibility by the classes outside the package?
In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
A class may be both abstract and final.
To delete a file, we can use an instance of class file.
Servlet can have ___________
Which of the following string can be used as mode string for creating a RandomAccessFile object?
When we implement the Runnable interface, we must define the method
Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
In a single Servlet class we can use____________
Which of the following will produce a value of 10 if x = 9.7?
An individual array element that is passed to a method and modified in that method will contain the…
When the string objects are compared with ==, the result is true If the strings contain the same values.
Which exception is thrown by the read() method of InputStream class?
The methods wait() and noify() are defined in
We can add more than one class(es) at the time of compilation Java Beans.
A final class may not have any abstract method.
The programmer must explicitly create the system .in and system .out objects.
A JSP file can be stored_________________
Objects are passed to a method by use of call-by-reference.
For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
Members of a class specified as private are accessible only to the methods of the class.
Which of the following keywords are used to control access to a class member?
What does the following line of code do?TextField text=new TextField(10);
The use of protected keyword to a member in a class will restrict its visibility as follows:
Frames and applets cannot be used together in the same program.
A package is a collection of
Declaring a method synchronized guarantees that the deadlock cannot occur.
Which of the following methods can be used to draw the outline of a square?
In the code below, what data types the variable x can have?
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter