If m and n are int type variables, what will be the result of the expression
'm % n' when m = -14 and n = -3?
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
Objects are passed to a method by use of call-by-reference.
When we implement the Runnable interface, we must define the method
Which of the following keywords are used to control access to a class member?
An individual array element that is passed to a method and modified in that method will contain the…
The break statement is required in the default case of a switch selection structure.
A package is a collection of
JSP files creates ________________
Every call to wait has a corresponding call to notify that will eventually end the wafting.
Any method in a supper class can be over ridden in its subclass.
EJBs can be of the following type(s)None of the above
With javadoc, which of the following denotes a javadoc comment?
All methods in an abstract class must be declared abstract.
The check box group class is a subclass of the component class.
If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
A string object can not be modified after it is created.
Which exception is thrown by the read() method of InputStream class?
Members of a class specified as private are accessible only to the methods of the class.
Which of the following methods can be used to change the size of a size() *resize()
The name of a Java program file must match the name of the class with the extension Java.
An EJB is a server-side component that encapsulates the business logic of an application
JdbcOdbcDriver is an object of Object class
The expression (x == y && a<b) is true If either x == y is true or a<b is true.
Which key word can protect a class in package from accessibility by the classes outside the package?
A Java monitor must either extend thread class or implement Runnable interface.
We can add more than one class(es) at the time of compilation Java Beans.
The keywords reserved but not used in the initial version of Java re:
Which javadoc tag is used to denote a comment for methods parameters?
Which of the following will produce a value of 10 if x = 9.7?
It is an error to have a method with the same signature in both the super class and its subclass.
Which of the following statements are true?