Home

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. DataInput is
  2. A catch can have comma-separated multiple arguments.
  3. Session bean
  4. Throwing an exception always causes program termination.
  5. Which of the following methods can be used to remove a component from the display?
  6. The name of the RMI compiler is ___________
  7. The default case is always required in the switch selection structure.
  8. Which of the following keywords are used to control access to a class member?
  9. Which of the following command lines options generates documentation for all classes and methods?
  10. forName() is a static factory method
  11. The use of protected keyword to a member in a class will restrict its visibility as follows:
  12. We can over load methods with differences only in their return type.
  13. What is java -g used for?
  14. Which of the following are the wrapper classes?
  15. With javadoc, which of the following denotes a javadoc comment?
  16. In RMI we invoke client method from remote server
  17. The modulus operator (%) can be used only with Integer operands.
  18. Which of the following methods belong to the String class?
  19. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  20. Which of the following classes are available in the java.lang package?
  21. The methods wait() and noify() are defined in
  22. Servlet has ___________
  23. Every method of a final in class is implicitly final.
  24. A final class may not have any abstract method.
  25. A static class method can be invoked by simply using the name of the method alone.
  26. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  27. A JSP file can be stored_________________
  28. We would like to make a member of a class visible in all subclasses regardless of what package they…
  29. Which of the following statements are valid array declarations?
  30. It is perfectly legal to refer to any instance variable inside of a static method.