When the string objects are compared with ==, the result is true If the strings contain the same values.

A. True

B. False

You can do it
  1. When we implement an interface method, it should be declared as public.
  2. The check box group class is a subclass of the component class.
  3. Frames and applets cannot be used together in the same program.
  4. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  5. Java is fully object oriented programme.
  6. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  7. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  8. Which of the following methods can be used to remove a component from the display?
  9. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  10. Which of the following are the wrapper classes?
  11. We can over load methods with differences only in their return type.
  12. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  13. All the bitwise operators have the same level of precedence in Java.
  14. A final class may not have any abstract method.
  15. Which of the following are keywords?
  16. The break statement is required in the default case of a switch selection structure.
  17. What is java -g used for?
  18. Which of the following represent legal flow control statements?
  19. JSP files creates ________________
  20. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  21. executeUpdate(------------) returns ___________
  22. An individual array element that is passed to a method and modified in that method will contain the…
  23. What does the following line of code do?TextField text=new TextField(10);
  24. Objects are passed to a method by use of call-by-reference.
  25. When present, package must be the first no comment statement in the file.
  26. The methods wait() and noify() are defined in
  27. A Java monitor must either extend thread class or implement Runnable interface.
  28. In RMI before running the client program we must start RMI Registry.
  29. Which javadoc tag is used to denote a comment for methods parameters?
  30. The use of protected keyword to a member in a class will restrict its visibility as follows: