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

A. draw()

B. update()

C. show()

D. paint()

You can do it
  1. class.forName(...) creates an instance of java ODBC driver
  2. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  3. Which of the following statements are true?
  4. An individual array element that is passed to a method and modified in that method will contain the…
  5. Which of the following will produce a value of 22 if x=22.9:
  6. Java is fully object oriented programme.
  7. Throwing an exception always causes program termination.
  8. Submit button always fires doPost(...)
  9. executeUpdate(------------) returns ___________
  10. The import statement is always the first no comment statement in a Java program files.
  11. An EJB is a server-side component that encapsulates the business logic of an application
  12. Servlet has ___________
  13. DataInput is
  14. Consider the following class definitions: class maths { student student1; } class student { String name;…
  15. To delete a file, we can use an instance of class file.
  16. We can add more than one class(es) at the time of compilation Java Beans.
  17. A static class method can be invoked by simply using the name of the method alone.
  18. It is perfectly legal to refer to any instance variable inside of a static method.
  19. In a single Servlet class we can use____________
  20. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  21. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  22. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  23. All methods in an abstract class must be declared abstract.
  24. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  25. When the string objects are compared with ==, the result is true If the strings contain the same values.
  26. Which of the following represent legal flow control statements?
  27. In the code below, what data types the variable x can have?
  28. When we invoke repaint () for a Component, the AWT invokes the method:
  29. In order to connect to a database through java program we must create _______-
  30. Given the codeString s = new String("abc");Which of the following calls are valid?