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. What does the following line of code do?TextField text=new TextField(10);
  2. Java always provides a default constructor to a class.
  3. Which of the following represent legal flow control statements?
  4. The setBackground() method is part of the class
  5. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  6. Declaring a method synchronized guarantees that the deadlock cannot occur.
  7. The default case is always required in the switch selection structure.
  8. Which of the following command lines options generates documentation for all classes and methods?
  9. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  10. The check box group class is a subclass of the component class.
  11. Give file is a file object, which of the following are legal statements to create a new file.
  12. A string object can not be modified after it is created.
  13. In the code below, what data types the variable x can have?
  14. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  15. Which of the following will produce a value of 10 if x = 9.7?
  16. Submit button always fires doPost(...)
  17. When present, package must be the first no comment statement in the file.
  18. The name of a Java program file must match the name of the class with the extension Java.
  19. A class may be both abstract and final.
  20. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  21. Members of a class specified as private are accessible only to the methods of the class.
  22. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  23. Which of the following keywords are used to control access to a class member?
  24. Which of the following statements are valid array declarations?
  25. forName() is a static factory method
  26. Which of the following classes are available in the java.lang package?
  27. Servlet has ___________
  28. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  29. JSP files creates ________________
  30. Java is fully object oriented programme.