When present, package must be the first no comment statement in the file.

A. True

B. False

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

You can do it
  1. Two methods cannot have the same name in Java.
  2. The check box group class is a subclass of the component class.
  3. A constructor must always invoke its supper class constructor in its first statement.
  4. A static class method can be invoked by simply using the name of the method alone.
  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 string can be used as mode string for creating a RandomAccessFile object?
  7. Objects are passed to a method by use of call-by-reference.
  8. Which of the following statements are true?
  9. An individual array element that is passed to a method and modified in that method will contain the…
  10. We can over load methods with differences only in their return type.
  11. Give file is a file object, which of the following are legal statements to create a new file.
  12. Which of the following are not keywords?
  13. When we invoke repaint () for a Component, the AWT invokes the method:
  14. Which key word can protect a class in package from accessibility by the classes outside the package?
  15. Java is fully object oriented programme.
  16. A method declared as static can not access non-static class members.
  17. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  18. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  19. Given the codeString s = new String("abc");Which of the following calls are valid?
  20. The programmer must explicitly create the system .in and system .out objects.
  21. JSP files creates ________________
  22. When the string objects are compared with ==, the result is true If the strings contain the same values.
  23. A variable declared inside the for loop control can not be referenced out side the loop.
  24. In RMI before running the client program we must start RMI Registry.
  25. DataInput is
  26. The use of protected keyword to a member in a class will restrict its visibility as follows:
  27. The break statement is required in the default case of a switch selection structure.
  28. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  29. Which of the following classes are available in the java.lang package?
  30. Members of a class specified as private are accessible only to the methods of the class.