Home

We can add more than one class(es) at the time of compilation Java Beans.

A. True.

B. False.

You can do it
  1. When the string objects are compared with ==, the result is true If the strings contain the same values.
  2. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  3. When present, package must be the first no comment statement in the file.
  4. Connection, Statement are interfaces and ResultSet is a class.
  5. Declarations can appear anywhere in the body of a Java method.
  6. Declaring a method synchronized guarantees that the deadlock cannot occur.
  7. Which of the following are the wrapper classes?
  8. A class may be both abstract and final.
  9. Which of the following methods can be used to remove a component from the display?
  10. Which of the following statements are true?
  11. Any method in a supper class can be over ridden in its subclass.
  12. It is perfectly legal to assign a subclass object to a supper class reference.
  13. EJBs can be of the following type(s)None of the above
  14. Which of the following are not keywords?
  15. In a single Servlet class we can use____________
  16. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  17. The programmer must explicitly create the system .in and system .out objects.
  18. In RMI before running the client program we must start RMI Registry.
  19. Which exception is thrown by the read() method of InputStream class?
  20. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  21. Which of the following keywords are used to control access to a class member?
  22. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  23. The keywords reserved but not used in the initial version of Java re:
  24. The use of protected keyword to a member in a class will restrict its visibility as follows:
  25. Frames and applets cannot be used together in the same program.
  26. Servlet can have ___________
  27. The check box group class is a subclass of the component class.
  28. Which key word can protect a class in package from accessibility by the classes outside the package?
  29. Which of the following represent legal flow control statements?
  30. A variable declared inside the for loop control can not be referenced out side the loop.