Home

A panel can not be added to another panel.

A. True

B. False

You can do it
  1. We would like to make a member of a class visible in all subclasses regardless of what package they…
  2. When we implement the Runnable interface, we must define the method
  3. The break statement is required in the default case of a switch selection structure.
  4. Which are the valid ways to create DataInputStream streams?
  5. Objects are passed to a method by use of call-by-reference.
  6. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  7. Which of the following will produce a value of 22 if x=22.9:
  8. Declarations can appear anywhere in the body of a Java method.
  9. We can add more than one class(es) at the time of compilation Java Beans.
  10. The name of the RMI compiler is ___________
  11. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  12. Session bean
  13. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  14. Declaring a method synchronized guarantees that the deadlock cannot occur.
  15. A variable declared inside the for loop control can not be referenced out side the loop.
  16. Give file is a file object, which of the following are legal statements to create a new file.
  17. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  18. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  19. Which of the following are keywords?
  20. Which of the following are not keywords?
  21. The keywords reserved but not used in the initial version of Java re:
  22. In a single Servlet class we can use____________
  23. Which of the following methods can be used to draw the outline of a square?
  24. It is perfectly legal to assign a subclass object to a supper class reference.
  25. executeUpdate(------------) returns ___________
  26. A catch can have comma-separated multiple arguments.
  27. The use of protected keyword to a member in a class will restrict its visibility as follows:
  28. Which javadoc tag is used to denote a comment for methods parameters?
  29. In order to connect to a database through java program we must create _______-
  30. The name of a Java program file must match the name of the class with the extension Java.