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

A. True

B. False

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. A constructor must always invoke its supper class constructor in its first statement.
  2. Which of the following methods can be used to change the size of a size() *resize()
  3. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  4. Java is fully object oriented programme.
  5. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  6. What is java -g used for?
  7. Throwing an exception always causes program termination.
  8. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  9. In a single Servlet class we can use____________
  10. In RMI we invoke client method from remote server
  11. The break statement is required in the default case of a switch selection structure.
  12. When we implement an interface method, it should be declared as public.
  13. Which of the following methods can be used to remove a component from the display?
  14. It is perfectly legal to refer to any instance variable inside of a static method.
  15. Which of the following represent legal flow control statements?
  16. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  17. All the bitwise operators have the same level of precedence in Java.
  18. An individual array element that is passed to a method and modified in that method will contain the…
  19. Any method in a supper class can be over ridden in its subclass.
  20. When we invoke repaint () for a Component, the AWT invokes the method:
  21. A panel can not be added to another panel.
  22. The methods wait() and noify() are defined in
  23. Submit button always fires doPost(...)
  24. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  25. Which of the following statements are true?
  26. Which of the following will produce a value of 10 if x = 9.7?
  27. We can over load methods with differences only in their return type.
  28. A catch can have comma-separated multiple arguments.
  29. forName() is a static factory method
  30. Which of the following will produce a value of 22 if x=22.9: