Which of the following are the wrapper classes?
all 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.
JdbcOdbcDriver is an object of Object class
The keywords reserved but not used in the initial version of Java re:
When present, package must be the first no comment statement in the file.
Objects are passed to a method by use of call-by-reference.
All the bitwise operators have the same level of precedence in Java.
When we invoke repaint () for a Component, the AWT invokes the method:
The programmer must explicitly create the system .in and system .out objects.
Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
Throwing an exception always causes program termination.
The name of a Java program file must match the name of the class with the extension Java.
The methods wait() and noify() are defined in
Which of the following control expressions are valid for an if statement?
A Java monitor must either extend thread class or implement Runnable interface.
A final class may not have any abstract method.
Which of the following are keywords?
A package is a collection of
In the code below, what data types the variable x can have?
Given the codeString s = new String("abc");Which of the following calls are valid?
Which key word can protect a class in package from accessibility by the classes outside the package?
To delete a file, we can use an instance of class file.
The length of a string object 's1' can be obtained using the expression s1.length.
Submit button always fires doPost(...)
The name of the RMI compiler is ___________
Give file is a file object, which of the following are legal statements to create a new file.
Which of the following statements are true?
Which of the following will produce a value of 10 if x = 9.7?
A static class method can be invoked by simply using the name of the method alone.
Which exception is thrown by the read() method of InputStream class?
forName() is a static factory method
We can over load methods with differences only in their return type.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter