The setBackground() method is part of the class

A. Applet

B. Component

C. Container

D. Object

You can do it
  1. A static class method can be invoked by simply using the name of the method alone.
  2. Which javadoc tag is used to denote a comment for methods parameters?
  3. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  4. Every method of a final in class is implicitly final.
  5. Submit button always fires doPost(...)
  6. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  7. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  8. When we invoke repaint () for a Component, the AWT invokes the method:
  9. To delete a file, we can use an instance of class file.
  10. In RMI we invoke client method from remote server
  11. EJBs can be of the following type(s)None of the above
  12. A variable declared inside the for loop control can not be referenced out side the loop.
  13. Which exception is thrown by the read() method of InputStream class?
  14. The keywords reserved but not used in the initial version of Java re:
  15. Servlet has ___________
  16. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  17. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  18. Servlet can have ___________
  19. The name of the RMI compiler is ___________
  20. DataInput is
  21. Throwing an exception always causes program termination.
  22. Give file is a file object, which of the following are legal statements to create a new file.
  23. Connection, Statement are interfaces and ResultSet is a class.
  24. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  25. The import statement is always the first no comment statement in a Java program files.
  26. Objects are passed to a method by use of call-by-reference.
  27. A JSP file can be stored_________________
  28. executeUpdate automatically updates data because___________
  29. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  30. When the string objects are compared with ==, the result is true If the strings contain the same values.