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 final class may not have any abstract method.
  2. The use of protected keyword to a member in a class will restrict its visibility as follows:
  3. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  4. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  5. Java always provides a default constructor to a class.
  6. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  7. In RMI before running the client program we must start RMI Registry.
  8. Which exception is thrown by the read() method of InputStream class?
  9. What is java -g used for?
  10. Submit button always fires doPost(...)
  11. The modulus operator (%) can be used only with Integer operands.
  12. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  13. It is an error to have a method with the same signature in both the super class and its subclass.
  14. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  15. A variable declared inside the for loop control can not be referenced out side the loop.
  16. A class may be both abstract and final.
  17. A static class method can be invoked by simply using the name of the method alone.
  18. Java is fully object oriented programme.
  19. Which of the following are not keywords?
  20. A method declared as static can not access non-static class members.
  21. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  22. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  23. The import statement is always the first no comment statement in a Java program files.
  24. In RMI we invoke client method from remote server
  25. The programmer must explicitly create the system .in and system .out objects.
  26. Declaring a method synchronized guarantees that the deadlock cannot occur.
  27. Every method of a final in class is implicitly final.
  28. Which are the valid ways to create DataInputStream streams?
  29. A catch can have comma-separated multiple arguments.
  30. Which of the following statements are valid array declarations?