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

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  2. When present, package must be the first no comment statement in the file.
  3. It is an error to have a method with the same signature in both the super class and its subclass.
  4. When the string objects are compared with ==, the result is true If the strings contain the same values.
  5. A package is a collection of
  6. A string object can not be modified after it is created.
  7. Connection, Statement are interfaces and ResultSet is a class.
  8. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  9. Which of the following are keywords?
  10. The length of a string object 's1' can be obtained using the expression s1.length.
  11. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  12. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  13. Members of a class specified as private are accessible only to the methods of the class.
  14. It is perfectly legal to refer to any instance variable inside of a static method.
  15. forName() is a static factory method
  16. Which of the following will produce a value of 10 if x = 9.7?
  17. Which are the valid ways to create DataInputStream streams?
  18. The default case is always required in the switch selection structure.
  19. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  20. The use of protected keyword to a member in a class will restrict its visibility as follows:
  21. The keywords reserved but not used in the initial version of Java re:
  22. Which of the following methods can be used to draw the outline of a square?
  23. JdbcOdbcDriver is an object of Object class
  24. Session bean
  25. Which of the following will produce a value of 22 if x=22.9:
  26. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  27. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  28. executeUpdate automatically updates data because___________
  29. What does the following line of code do?TextField text=new TextField(10);
  30. Which of the following methods can be used to change the size of a size() *resize()