Which of the following methods can be used to change the size of a
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?
The import statement is always the first no comment statement in a Java program files.
A constructor must always invoke its supper class constructor in its first statement.
Servlet has ___________
Any method in a supper class can be over ridden in its subclass.
In RMI we invoke client method from remote server
A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
Which of the following keywords are used to control access to a class member?
DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
Submit button always fires doPost(...)
Which javadoc tag is used to denote a comment for methods parameters?
The methods wait() and noify() are defined in
Which of the following classes are available in the java.lang package?
Which exception is thrown by the read() method of InputStream class?
We can add more than one class(es) at the time of compilation Java Beans.
Which of the following methods can be used to change the size of a size() *resize()
In a single Servlet class we can use____________
Frames and applets cannot be used together in the same program.
A string object can not be modified after it is created.
A static class method can be invoked by simply using the name of the method alone.
Which of the following command lines options generates documentation for all classes and methods?
When we invoke repaint () for a Component, the AWT invokes the method:
When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
Two methods cannot have the same name in Java.
In order to connect to a database through java program we must create _______-
All the bitwise operators have the same level of precedence in Java.
In RMI before running the client program we must start RMI Registry.
The name of a Java program file must match the name of the class with the extension Java.
Which of the following statements are valid array declarations?
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter