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. The check box group class is a subclass of the component class.
  2. In RMI before running the client program we must start RMI Registry.
  3. We would like to make a member of a class visible in all subclasses regardless of what package they…
  4. putValue(...) method takes _____________________-
  5. A JSP file can be stored_________________
  6. The length of a string object 's1' can be obtained using the expression s1.length.
  7. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  8. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  9. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  10. Two methods cannot have the same name in Java.
  11. To delete a file, we can use an instance of class file.
  12. An individual array element that is passed to a method and modified in that method will contain the…
  13. Which of the following methods can be used to remove a component from the display?
  14. In a single Servlet class we can use____________
  15. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  16. Throwing an exception always causes program termination.
  17. It is perfectly legal to refer to any instance variable inside of a static method.
  18. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  19. Which of the following will produce a value of 10 if x = 9.7?
  20. Java always provides a default constructor to a class.
  21. Declarations can appear anywhere in the body of a Java method.
  22. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  23. Which of the following are the wrapper classes?
  24. Which key word can protect a class in package from accessibility by the classes outside the package?
  25. Which of the following statements are valid array declarations?
  26. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  27. Submit button always fires doPost(...)
  28. Objects are passed to a method by use of call-by-reference.
  29. Any method in a supper class can be over ridden in its subclass.
  30. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…