In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean expressions are not always evaluated.
Correct Answer :
Download Objective type questions of
Visit our PDF store
Get all objective type questions of Java Programming MCQ
comments powered by Disqus.
To delete a file, we can use an instance of class file.
Which of the following methods belong to the String class?
We would like to make a member of a class visible in all subclasses regardless of what package they…
In the code below, what data types the variable x can have?
Frames and applets cannot be used together in the same program.
Which of the following statements are true?
When present, package must be the first no comment statement in the file.
What does the following line of code do?TextField text=new TextField(10);
A string object can not be modified after it is created.
Which of the following methods can be used to draw the outline of a square?
Which of the following will produce a value of 22 if x=22.9:
Which of the following control expressions are valid for an if statement?
Every method of a final in class is implicitly final.
Java is fully object oriented programme.
Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
Which of the following methods can be used to change the size of a size() *resize()
It is an error to have a method with the same signature in both the super class and its subclass.
Declarations can appear anywhere in the body of a Java method.
Java always provides a default constructor to a class.
It is an error if a class with one or more abstract methods is not explicitly declared abstract.
Which key word can protect a class in package from accessibility by the classes outside the package?
The break statement is required in the default case of a switch selection structure.
Objects are passed to a method by use of call-by-reference.
It is perfectly legal to refer to any instance variable inside of a static method.
EJBs can be of the following type(s)None of the above
JSP files creates ________________
Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
The expression (x == y && a<b) is true If either x == y is true or a<b is true.
Which of the following represent legal flow control statements?
The name of a Java program file must match the name of the class with the extension Java.
Join our Chat Group
Join our Twitter Group
Join our Pinterest Group
Join our Facebook Group
Subscribe to our Email Newsletter