Home

A class may be both abstract and final.

A. True

B. False

You can do it
  1. When present, package must be the first no comment statement in the file.
  2. Frames and applets cannot be used together in the same program.
  3. In order to connect to a database through java program we must create _______-
  4. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  5. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  6. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  7. Consider the following class definitions: class maths { student student1; } class student { String name;…
  8. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  9. A catch can have comma-separated multiple arguments.
  10. Which of the following methods can be used to change the size of a size() *resize()
  11. The methods wait() and noify() are defined in
  12. Which of the following control expressions are valid for an if statement?
  13. The default case is always required in the switch selection structure.
  14. A package is a collection of
  15. A panel can not be added to another panel.
  16. Which exception is thrown by the read() method of InputStream class?
  17. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  18. With javadoc, which of the following denotes a javadoc comment?
  19. Java always provides a default constructor to a class.
  20. The name of the RMI compiler is ___________
  21. executeUpdate automatically updates data because___________
  22. The modulus operator (%) can be used only with Integer operands.
  23. To delete a file, we can use an instance of class file.
  24. Which of the following represent legal flow control statements?
  25. Which of the following represent legal flow control statements?
  26. All the bitwise operators have the same level of precedence in Java.
  27. Java is fully object oriented programme.
  28. Any class may be inherited by another class in the same package.
  29. The programmer must explicitly create the system .in and system .out objects.
  30. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…