Home

What is error in the following class definitions? 
abstract class xy { 
abstract sum(int x, int y) {
}
}

A. class header is not define properly

B. constructor is no defined

C. method is not defined properly

D. no error

You can do it yup
  1. Which of the following represent legal flow control statements?
  2. The concept of multiple inheritance is implemented in Java by
  3. Which of the following are keywords?
  4. All methods in an abstract class must be declared abstract.
  5. Which of the following will produce a value of 22 if x=22.9:
  6. With javadoc, which of the following denotes a javadoc comment?
  7. A Java monitor must either extend thread class or implement Runnable interface.
  8. The length of a string object 's1' can be obtained using the expression s1.length.
  9. Which of the following control expressions are valid for an if statement?
  10. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  11. JdbcOdbcDriver is an object of Object class
  12. When we invoke repaint () for a Component, the AWT invokes the method:
  13. Any class may be inherited by another class in the same package.
  14. Which of the following keywords are used to control access to a class member?
  15. A catch can have comma-separated multiple arguments.
  16. Which of the following classes are available in the java.lang package?
  17. JSP files creates ________________
  18. Which of the following statements are true?
  19. It is perfectly legal to assign a subclass object to a supper class reference.
  20. We can over load methods with differences only in their return type.
  21. It is perfectly legal to refer to any instance variable inside of a static method.
  22. Which are the valid ways to create DataInputStream streams?
  23. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  24. forName() is a static factory method
  25. Session bean
  26. The break statement is required in the default case of a switch selection structure.
  27. putValue(...) method takes _____________________-
  28. Which key word can protect a class in package from accessibility by the classes outside the package?
  29. executeUpdate(------------) returns ___________
  30. In RMI before running the client program we must start RMI Registry.