Home

In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean expressions are not always evaluated.

A. True

B. False

You can do it
  1. The check box group class is a subclass of the component class.
  2. A catch can have comma-separated multiple arguments.
  3. It is perfectly legal to assign a subclass object to a supper class reference.
  4. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  5. A Java monitor must either extend thread class or implement Runnable interface.
  6. Which of the following methods can be used to draw the outline of a square?
  7. Which of the following statements are valid array declarations?
  8. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  9. The concept of multiple inheritance is implemented in Java by
  10. Which of the following classes are available in the java.lang package?
  11. The keywords reserved but not used in the initial version of Java re:
  12. Which of the following statements are true?
  13. Which key word can protect a class in package from accessibility by the classes outside the package?
  14. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  15. Which of the following represent legal flow control statements?
  16. EJBs can be of the following type(s)None of the above
  17. The setBackground() method is part of the class
  18. All methods in an abstract class must be declared abstract.
  19. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  20. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  21. Given the codeString s = new String("abc");Which of the following calls are valid?
  22. JSP files creates ________________
  23. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  24. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  25. Which of the following are the wrapper classes?
  26. In order to connect to a database through java program we must create _______-
  27. A variable declared inside the for loop control can not be referenced out side the loop.
  28. forName() is a static factory method
  29. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  30. The name of a Java program file must match the name of the class with the extension Java.