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. To delete a file, we can use an instance of class file.
  2. Which of the following methods belong to the String class?
  3. We would like to make a member of a class visible in all subclasses regardless of what package they…
  4. In the code below, what data types the variable x can have?
  5. Frames and applets cannot be used together in the same program.
  6. Which of the following statements are true?
  7. When present, package must be the first no comment statement in the file.
  8. What does the following line of code do?TextField text=new TextField(10);
  9. A string object can not be modified after it is created.
  10. Which of the following methods can be used to draw the outline of a square?
  11. Which of the following will produce a value of 22 if x=22.9:
  12. Which of the following control expressions are valid for an if statement?
  13. Every method of a final in class is implicitly final.
  14. Java is fully object oriented programme.
  15. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  16. Which of the following methods can be used to change the size of a size() *resize()
  17. It is an error to have a method with the same signature in both the super class and its subclass.
  18. Declarations can appear anywhere in the body of a Java method.
  19. Java always provides a default constructor to a class.
  20. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  21. Which key word can protect a class in package from accessibility by the classes outside the package?
  22. The break statement is required in the default case of a switch selection structure.
  23. Objects are passed to a method by use of call-by-reference.
  24. It is perfectly legal to refer to any instance variable inside of a static method.
  25. EJBs can be of the following type(s)None of the above
  26. JSP files creates ________________
  27. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  28. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  29. Which of the following represent legal flow control statements?
  30. The name of a Java program file must match the name of the class with the extension Java.