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. JSP files creates ________________
  2. Which of the following keywords are used to control access to a class member?
  3. In the code below, what data types the variable x can have?
  4. Which of the following statements are true?
  5. What is java -g used for?
  6. Servlet can have ___________
  7. Two methods cannot have the same name in Java.
  8. What does the following line of code do?TextField text=new TextField(10);
  9. One the features of is that an array can store many different types of values.
  10. A static class method can be invoked by simply using the name of the method alone.
  11. A Java monitor must either extend thread class or implement Runnable interface.
  12. Members of a class specified as private are accessible only to the methods of the class.
  13. Declarations can appear anywhere in the body of a Java method.
  14. Given the codeString s = new String("abc");Which of the following calls are valid?
  15. class.forName(...) creates an instance of java ODBC driver
  16. All the bitwise operators have the same level of precedence in Java.
  17. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  18. executeUpdate automatically updates data because___________
  19. It is perfectly legal to refer to any instance variable inside of a static method.
  20. forName() is a static factory method
  21. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  22. It is an error to have a method with the same signature in both the super class and its subclass.
  23. Any method in a supper class can be over ridden in its subclass.
  24. Connection, Statement are interfaces and ResultSet is a class.
  25. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  26. The name of the RMI compiler is ___________
  27. Java is fully object oriented programme.
  28. When we invoke repaint () for a Component, the AWT invokes the method:
  29. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  30. Objects are passed to a method by use of call-by-reference.