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. The modulus operator (%) can be used only with Integer operands.
  2. Submit button always fires doPost(...)
  3. The setBackground() method is part of the class
  4. An individual array element that is passed to a method and modified in that method will contain the…
  5. The name of the RMI compiler is ___________
  6. The length of a string object 's1' can be obtained using the expression s1.length.
  7. Which of the following control expressions are valid for an if statement?
  8. Which of the following statements are valid array declarations?
  9. Which of the following classes are available in the java.lang package?
  10. The concept of multiple inheritance is implemented in Java by
  11. In RMI before running the client program we must start RMI Registry.
  12. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  13. executeUpdate automatically updates data because___________
  14. class.forName(...) creates an instance of java ODBC driver
  15. What does the following line of code do?TextField text=new TextField(10);
  16. Which exception is thrown by the read() method of InputStream class?
  17. Session bean
  18. Declarations can appear anywhere in the body of a Java method.
  19. Servlet has ___________
  20. The check box group class is a subclass of the component class.
  21. DataInput is
  22. Which of the following are the wrapper classes?
  23. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  24. Java always provides a default constructor to a class.
  25. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  26. Objects are passed to a method by use of call-by-reference.
  27. A final class may not have any abstract method.
  28. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  29. The name of a Java program file must match the name of the class with the extension Java.
  30. To delete a file, we can use an instance of class file.