Home

It is an error if a class with one or more abstract methods is not explicitly declared abstract.

A. True

B. False

You can do it
  1. Which of the following statements are valid array declarations?
  2. The use of protected keyword to a member in a class will restrict its visibility as follows:
  3. We can add more than one class(es) at the time of compilation Java Beans.
  4. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  5. It is perfectly legal to assign a subclass object to a supper class reference.
  6. Which of the following will produce a value of 10 if x = 9.7?
  7. When we implement the Runnable interface, we must define the method
  8. The name of the RMI compiler is ___________
  9. Which of the following represent legal flow control statements?
  10. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  11. executeUpdate automatically updates data because___________
  12. When we invoke repaint () for a Component, the AWT invokes the method:
  13. Which of the following methods can be used to remove a component from the display?
  14. In the code below, what data types the variable x can have?
  15. class.forName(...) creates an instance of java ODBC driver
  16. It is perfectly legal to refer to any instance variable inside of a static method.
  17. A panel can not be added to another panel.
  18. A catch can have comma-separated multiple arguments.
  19. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  20. The modulus operator (%) can be used only with Integer operands.
  21. All the bitwise operators have the same level of precedence in Java.
  22. Which of the following command lines options generates documentation for all classes and methods?
  23. Which of the following methods can be used to change the size of a size() *resize()
  24. It is an error to have a method with the same signature in both the super class and its subclass.
  25. Throwing an exception always causes program termination.
  26. A constructor must always invoke its supper class constructor in its first statement.
  27. With javadoc, which of the following denotes a javadoc comment?
  28. Servlet has ___________
  29. Which of the following will produce a value of 22 if x=22.9:
  30. An EJB is a server-side component that encapsulates the business logic of an application