Home

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

A. True

B. False

You can do it
  1. When we implement an interface method, it should be declared as public.
  2. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  3. Which key word can protect a class in package from accessibility by the classes outside the package?
  4. class.forName(...) creates an instance of java ODBC driver
  5. A Java monitor must either extend thread class or implement Runnable interface.
  6. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  7. Which of the following represent legal flow control statements?
  8. In a single Servlet class we can use____________
  9. When the string objects are compared with ==, the result is true If the strings contain the same values.
  10. A method declared as static can not access non-static class members.
  11. We can add more than one class(es) at the time of compilation Java Beans.
  12. Declarations can appear anywhere in the body of a Java method.
  13. To delete a file, we can use an instance of class file.
  14. In RMI we invoke client method from remote server
  15. Which of the following statements are valid array declarations?
  16. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  17. Which of the following methods can be used to remove a component from the display?
  18. Any method in a supper class can be over ridden in its subclass.
  19. It is perfectly legal to assign a subclass object to a supper class reference.
  20. A final class may not have any abstract method.
  21. The check box group class is a subclass of the component class.
  22. What is java -g used for?
  23. A JSP file can be stored_________________
  24. A static class method can be invoked by simply using the name of the method alone.
  25. What does the following line of code do?TextField text=new TextField(10);
  26. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  27. DataInput is
  28. Which javadoc tag is used to denote a comment for methods parameters?
  29. Servlet can have ___________
  30. An EJB is a server-side component that encapsulates the business logic of an application