Java is fully object oriented programme.
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 expression (x == y && a<b) is true If either x == y is true or a<b is true.
When present, package must be the first no comment statement in the file.
Which of the following string can be used as mode string for creating a RandomAccessFile object?
Throwing an exception always causes program termination.
The methods wait() and noify() are defined in
Connection, Statement are interfaces and ResultSet is a class.
The modulus operator (%) can be used only with Integer operands.
All the bitwise operators have the same level of precedence in Java.
Java always provides a default constructor to a class.
Members of a class specified as private are accessible only to the methods of the class.
Which of the following methods can be used to remove a component from the display?
Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
The setBackground() method is part of the class
The keywords reserved but not used in the initial version of Java re:
To delete a file, we can use an instance of class file.
A class may be both abstract and final.
Every method of a final in class is implicitly final.
A JSP file can be stored_________________
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…
Which of the following will produce a value of 22 if x=22.9:
Any class may be inherited by another class in the same package.
We can add more than one class(es) at the time of compilation Java Beans.
All methods in an abstract class must be declared abstract.
Which of the following are keywords?
executeUpdate automatically updates data because___________
It is an error if a class with one or more abstract methods is not explicitly declared abstract.
executeUpdate(------------) returns ___________
An individual array element that is passed to a method and modified in that method will contain the…
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter