JSP files creates ________________
html files and java files
java files and class files
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.
Java always provides a default constructor to a class.
A package is a collection of
If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
When present, package must be the first no comment statement in the file.
The name of the RMI compiler is ___________
Which exception is thrown by the read() method of InputStream class?
A variable declared inside the for loop control can not be referenced out side the loop.
What does the following line of code do?TextField text=new TextField(10);
Which of the following methods can be used to remove a component from the display?
Connection, Statement are interfaces and ResultSet is a class.
The import statement is always the first no comment statement in a Java program files.
Given the codeString s = new String("abc");Which of the following calls are valid?
If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
It is perfectly legal to refer to any instance variable inside of a static method.
Members of a class specified as private are accessible only to the methods of the class.
All methods in an abstract class must be declared abstract.
All the bitwise operators have the same level of precedence in Java.
We can add more than one class(es) at the time of compilation Java Beans.
Every method of a final in class is implicitly final.
The programmer must explicitly create the system .in and system .out objects.
Which of the following methods can be used to change the size of a size() *resize()
class.forName(...) creates an instance of java ODBC driver
Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
A Java monitor must either extend thread class or implement Runnable interface.
When the string objects are compared with ==, the result is true If the strings contain the same values.
Any method in a supper class can be over ridden in its subclass.
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 statements are true?