The import statement is always the first no comment statement in a Java program files.

A. True

B. False

You can do it
  1. Which of the following will produce a value of 22 if x=22.9:
  2. Throwing an exception always causes program termination.
  3. In RMI before running the client program we must start RMI Registry.
  4. The check box group class is a subclass of the component class.
  5. Objects are passed to a method by use of call-by-reference.
  6. The methods wait() and noify() are defined in
  7. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  8. The name of a Java program file must match the name of the class with the extension Java.
  9. JSP files creates ________________
  10. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  11. A Java monitor must either extend thread class or implement Runnable interface.
  12. Session bean
  13. Submit button always fires doPost(...)
  14. Servlet has ___________
  15. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  16. An individual array element that is passed to a method and modified in that method will contain the…
  17. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  18. The setBackground() method is part of the class
  19. Which of the following statements are valid array declarations?
  20. executeUpdate automatically updates data because___________
  21. A class may be both abstract and final.
  22. A panel can not be added to another panel.
  23. DataInput is
  24. Which of the following control expressions are valid for an if statement?
  25. Given the codeString s = new String("abc");Which of the following calls are valid?
  26. Every method of a final in class is implicitly final.
  27. All methods in an abstract class must be declared abstract.
  28. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  29. A package is a collection of
  30. We can add more than one class(es) at the time of compilation Java Beans.