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. Which exception is thrown by the read() method of InputStream class?
  2. Servlet has ___________
  3. The setBackground() method is part of the class
  4. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  5. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  6. Which of the following are keywords?
  7. Java always provides a default constructor to a class.
  8. Which of the following represent legal flow control statements?
  9. The concept of multiple inheritance is implemented in Java by
  10. Which are the valid ways to create DataInputStream streams?
  11. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  12. When we implement the Runnable interface, we must define the method
  13. One the features of is that an array can store many different types of values.
  14. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  15. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  16. Which of the following statements are true?
  17. Declarations can appear anywhere in the body of a Java method.
  18. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  19. executeUpdate automatically updates data because___________
  20. The modulus operator (%) can be used only with Integer operands.
  21. A variable declared inside the for loop control can not be referenced out side the loop.
  22. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  23. A package is a collection of
  24. Which of the following methods can be used to change the size of a size() *resize()
  25. All the bitwise operators have the same level of precedence in Java.
  26. The length of a string object 's1' can be obtained using the expression s1.length.
  27. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  28. A panel can not be added to another panel.
  29. Which of the following will produce a value of 10 if x = 9.7?
  30. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…