Home

A panel can not be added to another panel.

A. True

B. False

You can do it
  1. Which of the following control expressions are valid for an if statement?
  2. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  3. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  4. Frames and applets cannot be used together in the same program.
  5. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  6. Which of the following represent legal flow control statements?
  7. Throwing an exception always causes program termination.
  8. Which of the following keywords are used to control access to a class member?
  9. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  10. Which of the following methods can be used to remove a component from the display?
  11. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  12. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  13. Give file is a file object, which of the following are legal statements to create a new file.
  14. Which of the following statements are valid array declarations?
  15. What is java -g used for?
  16. All the bitwise operators have the same level of precedence in Java.
  17. Which key word can protect a class in package from accessibility by the classes outside the package?
  18. A Java monitor must either extend thread class or implement Runnable interface.
  19. A constructor must always invoke its supper class constructor in its first statement.
  20. A string object can not be modified after it is created.
  21. We can over load methods with differences only in their return type.
  22. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  23. Which of the following methods can be used to change the size of a size() *resize()
  24. We can add more than one class(es) at the time of compilation Java Beans.
  25. Every method of a final in class is implicitly final.
  26. Connection, Statement are interfaces and ResultSet is a class.
  27. Servlet has ___________
  28. Any method in a supper class can be over ridden in its subclass.
  29. We would like to make a member of a class visible in all subclasses regardless of what package they…
  30. An EJB is a server-side component that encapsulates the business logic of an application