When we invoke repaint () for a Component, the AWT invokes the method:

A. draw()

B. update()

C. show()

D. paint()

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

You can do it
  1. Servlet has ___________
  2. DataInput is
  3. Give file is a file object, which of the following are legal statements to create a new file.
  4. Which of the following are keywords?
  5. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  6. Which of the following represent legal flow control statements?
  7. When we invoke repaint () for a Component, the AWT invokes the method:
  8. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  9. The check box group class is a subclass of the component class.
  10. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  11. Declarations can appear anywhere in the body of a Java method.
  12. JSP files creates ________________
  13. Which of the following will produce a value of 22 if x=22.9:
  14. The use of protected keyword to a member in a class will restrict its visibility as follows:
  15. Which of the following keywords are used to control access to a class member?
  16. It is perfectly legal to refer to any instance variable inside of a static method.
  17. Given the codeString s = new String("abc");Which of the following calls are valid?
  18. A final class may not have any abstract method.
  19. When we implement the Runnable interface, we must define the method
  20. Which of the following statements are true?
  21. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  22. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  23. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  24. Which of the following statements are valid array declarations?
  25. The programmer must explicitly create the system .in and system .out objects.
  26. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  27. In RMI we invoke client method from remote server
  28. Connection, Statement are interfaces and ResultSet is a class.
  29. A string object can not be modified after it is created.
  30. Any method in a supper class can be over ridden in its subclass.