Home

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. With javadoc, which of the following denotes a javadoc comment?
  2. Declarations can appear anywhere in the body of a Java method.
  3. The length of a string object 's1' can be obtained using the expression s1.length.
  4. An EJB is a server-side component that encapsulates the business logic of an application
  5. All the bitwise operators have the same level of precedence in Java.
  6. JdbcOdbcDriver is an object of Object class
  7. A static class method can be invoked by simply using the name of the method alone.
  8. Which of the following keywords are used to control access to a class member?
  9. The concept of multiple inheritance is implemented in Java by
  10. Which javadoc tag is used to denote a comment for methods parameters?
  11. The programmer must explicitly create the system .in and system .out objects.
  12. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  13. Which of the following classes are available in the java.lang package?
  14. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  15. An individual array element that is passed to a method and modified in that method will contain the…
  16. Which exception is thrown by the read() method of InputStream class?
  17. A panel can not be added to another panel.
  18. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  19. Which of the following are the wrapper classes?
  20. One the features of is that an array can store many different types of values.
  21. executeUpdate automatically updates data because___________
  22. Members of a class specified as private are accessible only to the methods of the class.
  23. Which of the following will produce a value of 22 if x=22.9:
  24. A string object can not be modified after it is created.
  25. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  26. Which of the following control expressions are valid for an if statement?
  27. It is an error to have a method with the same signature in both the super class and its subclass.
  28. Give file is a file object, which of the following are legal statements to create a new file.
  29. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  30. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…