Every method of a final in class is implicitly final.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
In the code below, what data types the variable x can have?
In RMI we invoke client method from remote server
For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
The import statement is always the first no comment statement in a Java program files.
Which javadoc tag is used to denote a comment for methods parameters?
The name of the RMI compiler is ___________
A constructor must always invoke its supper class constructor in its first statement.
Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
Any class may be inherited by another class in the same package.
A Java monitor must either extend thread class or implement Runnable interface.
It is an error if a class with one or more abstract methods is not explicitly declared abstract.
putValue(...) method takes _____________________-
The methods wait() and noify() are defined in
If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
An individual array element that is passed to a method and modified in that method will contain the…
Submit button always fires doPost(...)
A string object can not be modified after it is created.
Every call to wait has a corresponding call to notify that will eventually end the wafting.
forName() is a static factory method
It is an error to catch the same type of exception in two different catch blocks associated with a particular…
It is perfectly legal to assign a subclass object to a supper class reference.
Which of the following methods can be used to change the size of a size() *resize()
Which of the following represent legal flow control statements?
Any method in a supper class can be over ridden in its subclass.
Which key word can protect a class in package from accessibility by the classes outside the package?
Declaring a method synchronized guarantees that the deadlock cannot occur.
Which of the following keywords are used to control access to a class member?
The length of a string object 's1' can be obtained using the expression s1.length.
Which are the valid ways to create DataInputStream streams?
The check box group class is a subclass of the component class.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter