Home

The setBackground() method is part of the class

A. Applet

B. Component

C. Container

D. Object

You can do it
  1. An individual array element that is passed to a method and modified in that method will contain the…
  2. A method declared as static can not access non-static class members.
  3. With javadoc, which of the following denotes a javadoc comment?
  4. Which of the following are not keywords?
  5. EJBs can be of the following type(s)None of the above
  6. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  7. Which of the following methods can be used to draw the outline of a square?
  8. JSP files creates ________________
  9. Throwing an exception always causes program termination.
  10. An EJB is a server-side component that encapsulates the business logic of an application
  11. Which exception is thrown by the read() method of InputStream class?
  12. We can add more than one class(es) at the time of compilation Java Beans.
  13. What does the following line of code do?TextField text=new TextField(10);
  14. Java always provides a default constructor to a class.
  15. All methods in an abstract class must be declared abstract.
  16. The import statement is always the first no comment statement in a Java program files.
  17. What is java -g used for?
  18. A class may be both abstract and final.
  19. The use of protected keyword to a member in a class will restrict its visibility as follows:
  20. A panel can not be added to another panel.
  21. Which of the following statements are true?
  22. The keywords reserved but not used in the initial version of Java re:
  23. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  24. Servlet has ___________
  25. executeUpdate automatically updates data because___________
  26. Which of the following are the wrapper classes?
  27. Which of the following keywords are used to control access to a class member?
  28. Java is fully object oriented programme.
  29. DataInput is
  30. Submit button always fires doPost(...)