The setBackground() method is part of the class

A. Applet

B. Component

C. Container

D. Object

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

You can do it
  1. The use of protected keyword to a member in a class will restrict its visibility as follows:
  2. Java is fully object oriented programme.
  3. All methods in an abstract class must be declared abstract.
  4. Which of the following represent legal flow control statements?
  5. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  6. What does the following line of code do?TextField text=new TextField(10);
  7. Which javadoc tag is used to denote a comment for methods parameters?
  8. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  9. EJBs can be of the following type(s)None of the above
  10. It is perfectly legal to refer to any instance variable inside of a static method.
  11. The keywords reserved but not used in the initial version of Java re:
  12. An EJB is a server-side component that encapsulates the business logic of an application
  13. executeUpdate automatically updates data because___________
  14. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  15. Which of the following classes are available in the java.lang package?
  16. The import statement is always the first no comment statement in a Java program files.
  17. Which key word can protect a class in package from accessibility by the classes outside the package?
  18. Session bean
  19. An individual array element that is passed to a method and modified in that method will contain the…
  20. Throwing an exception always causes program termination.
  21. A Java monitor must either extend thread class or implement Runnable interface.
  22. Which of the following are not keywords?
  23. Servlet can have ___________
  24. Which of the following methods can be used to draw the outline of a square?
  25. Which of the following command lines options generates documentation for all classes and methods?
  26. Which of the following statements are true?
  27. executeUpdate(------------) returns ___________
  28. A method declared as static can not access non-static class members.
  29. We can over load methods with differences only in their return type.
  30. forName() is a static factory method