Home

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. The check box group class is a subclass of the component class.
  2. Which exception is thrown by the read() method of InputStream class?
  3. An individual array element that is passed to a method and modified in that method will contain the…
  4. DataInput is
  5. A method declared as static can not access non-static class members.
  6. Consider the following class definitions: class maths { student student1; } class student { String name;…
  7. Session bean
  8. When we invoke repaint () for a Component, the AWT invokes the method:
  9. Declarations can appear anywhere in the body of a Java method.
  10. In RMI we invoke client method from remote server
  11. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  12. A Java monitor must either extend thread class or implement Runnable interface.
  13. Servlet has ___________
  14. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  15. A JSP file can be stored_________________
  16. One the features of is that an array can store many different types of values.
  17. Which key word can protect a class in package from accessibility by the classes outside the package?
  18. Every method of a final in class is implicitly final.
  19. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  20. When we implement the Runnable interface, we must define the method
  21. It is perfectly legal to refer to any instance variable inside of a static method.
  22. Which of the following statements are valid array declarations?
  23. Which of the following command lines options generates documentation for all classes and methods?
  24. The name of a Java program file must match the name of the class with the extension Java.
  25. Declaring a method synchronized guarantees that the deadlock cannot occur.
  26. Servlet can have ___________
  27. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  28. The use of protected keyword to a member in a class will restrict its visibility as follows:
  29. Which of the following are the wrapper classes?
  30. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.