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. In a single Servlet class we can use____________
  2. Given the codeString s = new String("abc");Which of the following calls are valid?
  3. putValue(...) method takes _____________________-
  4. We can add more than one class(es) at the time of compilation Java Beans.
  5. The keywords reserved but not used in the initial version of Java re:
  6. A method declared as static can not access non-static class members.
  7. Servlet has ___________
  8. One the features of is that an array can store many different types of values.
  9. A panel can not be added to another panel.
  10. Frames and applets cannot be used together in the same program.
  11. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  12. All methods in an abstract class must be declared abstract.
  13. To delete a file, we can use an instance of class file.
  14. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  15. We can over load methods with differences only in their return type.
  16. Which javadoc tag is used to denote a comment for methods parameters?
  17. Which exception is thrown by the read() method of InputStream class?
  18. A static class method can be invoked by simply using the name of the method alone.
  19. Which of the following keywords are used to control access to a class member?
  20. Which of the following command lines options generates documentation for all classes and methods?
  21. Session bean
  22. JSP files creates ________________
  23. A final class may not have any abstract method.
  24. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  25. Java is fully object oriented programme.
  26. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  27. Which of the following represent legal flow control statements?
  28. When present, package must be the first no comment statement in the file.
  29. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  30. Which of the following are keywords?