Home

A final class may not have any abstract method.

A. True

B. False

You can do it
  1. Every method of a final in class is implicitly final.
  2. Java always provides a default constructor to a class.
  3. A variable declared inside the for loop control can not be referenced out side the loop.
  4. A JSP file can be stored_________________
  5. An individual array element that is passed to a method and modified in that method will contain the…
  6. Which of the following control expressions are valid for an if statement?
  7. It is an error to have a method with the same signature in both the super class and its subclass.
  8. Declaring a method synchronized guarantees that the deadlock cannot occur.
  9. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  10. A class may be both abstract and final.
  11. JSP files creates ________________
  12. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  13. executeUpdate(------------) returns ___________
  14. The use of protected keyword to a member in a class will restrict its visibility as follows:
  15. In a single Servlet class we can use____________
  16. Frames and applets cannot be used together in the same program.
  17. One the features of is that an array can store many different types of values.
  18. When the string objects are compared with ==, the result is true If the strings contain the same values.
  19. Connection, Statement are interfaces and ResultSet is a class.
  20. The check box group class is a subclass of the component class.
  21. All methods in an abstract class must be declared abstract.
  22. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  23. A string object can not be modified after it is created.
  24. Submit button always fires doPost(...)
  25. All the bitwise operators have the same level of precedence in Java.
  26. Any method in a supper class can be over ridden in its subclass.
  27. A static class method can be invoked by simply using the name of the method alone.
  28. Two methods cannot have the same name in Java.
  29. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  30. executeUpdate automatically updates data because___________