Home

Any method in a supper class can be over ridden in its subclass.

A. True

B. False

You can do it
  1. The programmer must explicitly create the system .in and system .out objects.
  2. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  3. The setBackground() method is part of the class
  4. Declarations can appear anywhere in the body of a Java method.
  5. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  6. Which of the following keywords are used to control access to a class member?
  7. JSP files creates ________________
  8. Objects are passed to a method by use of call-by-reference.
  9. Any method in a supper class can be over ridden in its subclass.
  10. Which of the following represent legal flow control statements?
  11. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  12. Connection, Statement are interfaces and ResultSet is a class.
  13. Which of the following methods can be used to change the size of a size() *resize()
  14. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  15. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  16. Servlet can have ___________
  17. A Java monitor must either extend thread class or implement Runnable interface.
  18. When we implement the Runnable interface, we must define the method
  19. Every method of a final in class is implicitly final.
  20. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  21. The default case is always required in the switch selection structure.
  22. It is perfectly legal to refer to any instance variable inside of a static method.
  23. Which of the following are not keywords?
  24. Given the codeString s = new String("abc");Which of the following calls are valid?
  25. Servlet has ___________
  26. A variable declared inside the for loop control can not be referenced out side the loop.
  27. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  28. Session bean
  29. The modulus operator (%) can be used only with Integer operands.
  30. A static class method can be invoked by simply using the name of the method alone.