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
  1. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  2. Frames and applets cannot be used together in the same program.
  3. In RMI before running the client program we must start RMI Registry.
  4. What does the following line of code do?TextField text=new TextField(10);
  5. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  6. When we invoke repaint () for a Component, the AWT invokes the method:
  7. The break statement is required in the default case of a switch selection structure.
  8. A class may be both abstract and final.
  9. Which of the following represent legal flow control statements?
  10. Which of the following methods can be used to draw the outline of a square?
  11. class.forName(...) creates an instance of java ODBC driver
  12. Which of the following methods belong to the String class?
  13. A panel can not be added to another panel.
  14. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  15. In a single Servlet class we can use____________
  16. When present, package must be the first no comment statement in the file.
  17. Consider the following class definitions: class maths { student student1; } class student { String name;…
  18. Throwing an exception always causes program termination.
  19. The setBackground() method is part of the class
  20. A catch can have comma-separated multiple arguments.
  21. Connection, Statement are interfaces and ResultSet is a class.
  22. Members of a class specified as private are accessible only to the methods of the class.
  23. A Java monitor must either extend thread class or implement Runnable interface.
  24. Which of the following represent legal flow control statements?
  25. Declarations can appear anywhere in the body of a Java method.
  26. When we implement the Runnable interface, we must define the method
  27. Which of the following methods can be used to remove a component from the display?
  28. Which exception is thrown by the read() method of InputStream class?
  29. We can add more than one class(es) at the time of compilation Java Beans.
  30. A JSP file can be stored_________________