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. Members of a class specified as private are accessible only to the methods of the class.
  2. Every method of a final in class is implicitly final.
  3. When the string objects are compared with ==, the result is true If the strings contain the same values.
  4. A JSP file can be stored_________________
  5. In RMI we invoke client method from remote server
  6. Two methods cannot have the same name in Java.
  7. The setBackground() method is part of the class
  8. Which of the following methods can be used to remove a component from the display?
  9. A final class may not have any abstract method.
  10. class.forName(...) creates an instance of java ODBC driver
  11. One the features of is that an array can store many different types of values.
  12. The default case is always required in the switch selection structure.
  13. The keywords reserved but not used in the initial version of Java re:
  14. A panel can not be added to another panel.
  15. Session bean
  16. A static class method can be invoked by simply using the name of the method alone.
  17. When we implement the Runnable interface, we must define the method
  18. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  19. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  20. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  21. It is perfectly legal to refer to any instance variable inside of a static method.
  22. Submit button always fires doPost(...)
  23. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  24. The modulus operator (%) can be used only with Integer operands.
  25. A package is a collection of
  26. Any method in a supper class can be over ridden in its subclass.
  27. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  28. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  29. Which javadoc tag is used to denote a comment for methods parameters?
  30. executeUpdate automatically updates data because___________