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

A. component

B. dimension()

C. setSize()

D. size()

You can do it
  1. In the code below, what data types the variable x can have?
  2. The import statement is always the first no comment statement in a Java program files.
  3. A constructor must always invoke its supper class constructor in its first statement.
  4. Servlet has ___________
  5. Any method in a supper class can be over ridden in its subclass.
  6. In RMI we invoke client method from remote server
  7. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  8. Which of the following keywords are used to control access to a class member?
  9. DataInput is
  10. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  11. Submit button always fires doPost(...)
  12. Which javadoc tag is used to denote a comment for methods parameters?
  13. The methods wait() and noify() are defined in
  14. Which of the following classes are available in the java.lang package?
  15. Which exception is thrown by the read() method of InputStream class?
  16. We can add more than one class(es) at the time of compilation Java Beans.
  17. Which of the following methods can be used to change the size of a size() *resize()
  18. In a single Servlet class we can use____________
  19. Frames and applets cannot be used together in the same program.
  20. A string object can not be modified after it is created.
  21. A static class method can be invoked by simply using the name of the method alone.
  22. Which of the following command lines options generates documentation for all classes and methods?
  23. When we invoke repaint () for a Component, the AWT invokes the method:
  24. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  25. Two methods cannot have the same name in Java.
  26. In order to connect to a database through java program we must create _______-
  27. All the bitwise operators have the same level of precedence in Java.
  28. In RMI before running the client program we must start RMI Registry.
  29. The name of a Java program file must match the name of the class with the extension Java.
  30. Which of the following statements are valid array declarations?