Which of the following statements are valid array declarations?

A. int number();

B. float average[];

C. double[] marks;

D. counter int[];

You can do it yup
  1. An EJB is a server-side component that encapsulates the business logic of an application
  2. It is perfectly legal to assign a subclass object to a supper class reference.
  3. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  4. Throwing an exception always causes program termination.
  5. Any method in a supper class can be over ridden in its subclass.
  6. A string object can not be modified after it is created.
  7. All the bitwise operators have the same level of precedence in Java.
  8. What is java -g used for?
  9. Give file is a file object, which of the following are legal statements to create a new file.
  10. Which of the following keywords are used to control access to a class member?
  11. To delete a file, we can use an instance of class file.
  12. forName() is a static factory method
  13. Which of the following are keywords?
  14. Which of the following statements are true?
  15. The concept of multiple inheritance is implemented in Java by
  16. The setBackground() method is part of the class
  17. The keywords reserved but not used in the initial version of Java re:
  18. Which of the following are not keywords?
  19. All methods in an abstract class must be declared abstract.
  20. A static class method can be invoked by simply using the name of the method alone.
  21. executeUpdate automatically updates data because___________
  22. Which of the following will produce a value of 22 if x=22.9:
  23. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  24. Which of the following control expressions are valid for an if statement?
  25. When we invoke repaint () for a Component, the AWT invokes the method:
  26. Which key word can protect a class in package from accessibility by the classes outside the package?
  27. The length of a string object 's1' can be obtained using the expression s1.length.
  28. Which of the following statements are true?
  29. When present, package must be the first no comment statement in the file.
  30. In RMI we invoke client method from remote server