A string object can not be modified after it is created.

A. True

B. False

You can do it
  1. A Java monitor must either extend thread class or implement Runnable interface.
  2. The concept of multiple inheritance is implemented in Java by
  3. A class may be both abstract and final.
  4. Any method in a supper class can be over ridden in its subclass.
  5. When we implement an interface method, it should be declared as public.
  6. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  7. Which of the following keywords are used to control access to a class member?
  8. We can over load methods with differences only in their return type.
  9. An EJB is a server-side component that encapsulates the business logic of an application
  10. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  11. The break statement is required in the default case of a switch selection structure.
  12. A JSP file can be stored_________________
  13. It is perfectly legal to assign a subclass object to a supper class reference.
  14. When present, package must be the first no comment statement in the file.
  15. JdbcOdbcDriver is an object of Object class
  16. A static class method can be invoked by simply using the name of the method alone.
  17. We can add more than one class(es) at the time of compilation Java Beans.
  18. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  19. Declarations can appear anywhere in the body of a Java method.
  20. Which of the following are the wrapper classes?
  21. It is an error to have a method with the same signature in both the super class and its subclass.
  22. Which are the valid ways to create DataInputStream streams?
  23. forName() is a static factory method
  24. In the code below, what data types the variable x can have?
  25. With javadoc, which of the following denotes a javadoc comment?
  26. DataInput is
  27. When we implement the Runnable interface, we must define the method
  28. Objects are passed to a method by use of call-by-reference.
  29. putValue(...) method takes _____________________-
  30. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…