Which of the following methods can be used to change the size of a
size() *

A. component

B. dimension()

C. setSize()

D. size()

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. A constructor must always invoke its supper class constructor in its first statement.
  2. The name of a Java program file must match the name of the class with the extension Java.
  3. When we implement an interface method, it should be declared as public.
  4. What does the following line of code do?TextField text=new TextField(10);
  5. Frames and applets cannot be used together in the same program.
  6. Given the codeString s = new String("abc");Which of the following calls are valid?
  7. Which key word can protect a class in package from accessibility by the classes outside the package?
  8. The use of protected keyword to a member in a class will restrict its visibility as follows:
  9. A static class method can be invoked by simply using the name of the method alone.
  10. executeUpdate automatically updates data because___________
  11. A string object can not be modified after it is created.
  12. Which of the following statements are valid array declarations?
  13. JSP files creates ________________
  14. A class may be both abstract and final.
  15. The modulus operator (%) can be used only with Integer operands.
  16. A JSP file can be stored_________________
  17. executeUpdate(------------) returns ___________
  18. Which of the following statements are true?
  19. Any class may be inherited by another class in the same package.
  20. Which of the following command lines options generates documentation for all classes and methods?
  21. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  22. putValue(...) method takes _____________________-
  23. An individual array element that is passed to a method and modified in that method will contain the…
  24. It is perfectly legal to refer to any instance variable inside of a static method.
  25. Submit button always fires doPost(...)
  26. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  27. The methods wait() and noify() are defined in
  28. Two methods cannot have the same name in Java.
  29. In order to connect to a database through java program we must create _______-
  30. class.forName(...) creates an instance of java ODBC driver