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.
Throwing an exception always causes program termination.
Servlet has ___________
A variable declared inside the for loop control can not be referenced out side the loop.
Which exception is thrown by the read() method of InputStream class?
forName() is a static factory method
If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
With javadoc, which of the following denotes a javadoc comment?
It is perfectly legal to assign a subclass object to a supper class reference.
Given the codeString s = new String("abc");Which of the following calls are valid?
In RMI we invoke client method from remote server
Which of the following will produce a value of 22 if x=22.9:
The methods wait() and noify() are defined in
Members of a class specified as private are accessible only to the methods of the class.
Frames and applets cannot be used together in the same program.
EJBs can be of the following type(s)None of the above
For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
One the features of is that an array can store many different types of values.
A final class may not have any abstract method.
The import statement is always the first no comment statement in a Java program files.
When we invoke repaint () for a Component, the AWT invokes the method:
Java always provides a default constructor to a class.
If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
Declarations can appear anywhere in the body of a Java method.
All the bitwise operators have the same level of precedence in Java.
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
Which of the following statements are valid array declarations?
To delete a file, we can use an instance of class file.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter