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
  1. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  2. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  3. The name of the RMI compiler is ___________
  4. Any class may be inherited by another class in the same package.
  5. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  6. Declarations can appear anywhere in the body of a Java method.
  7. It is an error to have a method with the same signature in both the super class and its subclass.
  8. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  9. The default case is always required in the switch selection structure.
  10. executeUpdate(------------) returns ___________
  11. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  12. EJBs can be of the following type(s)None of the above
  13. forName() is a static factory method
  14. Java always provides a default constructor to a class.
  15. The setBackground() method is part of the class
  16. Which of the following methods can be used to remove a component from the display?
  17. A method declared as static can not access non-static class members.
  18. An individual array element that is passed to a method and modified in that method will contain the…
  19. Which of the following represent legal flow control statements?
  20. One the features of is that an array can store many different types of values.
  21. In RMI we invoke client method from remote server
  22. In the code below, what data types the variable x can have?
  23. We can over load methods with differences only in their return type.
  24. Servlet has ___________
  25. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  26. We would like to make a member of a class visible in all subclasses regardless of what package they…
  27. A package is a collection of
  28. Which of the following methods can be used to change the size of a size() *resize()
  29. A catch can have comma-separated multiple arguments.
  30. executeUpdate automatically updates data because___________