Home

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

A. True

B. False

You can do it
  1. Session bean
  2. It is perfectly legal to refer to any instance variable inside of a static method.
  3. Which of the following classes are available in the java.lang package?
  4. Which of the following statements are valid array declarations?
  5. The concept of multiple inheritance is implemented in Java by
  6. The import statement is always the first no comment statement in a Java program files.
  7. When we invoke repaint () for a Component, the AWT invokes the method:
  8. Which of the following are the wrapper classes?
  9. Which of the following statements are true?
  10. Which of the following methods can be used to change the size of a size() *resize()
  11. executeUpdate(------------) returns ___________
  12. Which of the following control expressions are valid for an if statement?
  13. Which key word can protect a class in package from accessibility by the classes outside the package?
  14. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  15. A variable declared inside the for loop control can not be referenced out side the loop.
  16. class.forName(...) creates an instance of java ODBC driver
  17. Servlet has ___________
  18. Which of the following will produce a value of 22 if x=22.9:
  19. One the features of is that an array can store many different types of values.
  20. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  21. A catch can have comma-separated multiple arguments.
  22. Which of the following command lines options generates documentation for all classes and methods?
  23. Connection, Statement are interfaces and ResultSet is a class.
  24. A final class may not have any abstract method.
  25. A constructor must always invoke its supper class constructor in its first statement.
  26. When we implement an interface method, it should be declared as public.
  27. Every method of a final in class is implicitly final.
  28. Which of the following methods belong to the String class?
  29. It is perfectly legal to assign a subclass object to a supper class reference.
  30. Consider the following class definitions: class maths { student student1; } class student { String name;…