Home

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 keywords reserved but not used in the initial version of Java re:
  2. Given the codeString s = new String("abc");Which of the following calls are valid?
  3. Which of the following statements are valid array declarations?
  4. When we invoke repaint () for a Component, the AWT invokes the method:
  5. In RMI we invoke client method from remote server
  6. The default case is always required in the switch selection structure.
  7. Java always provides a default constructor to a class.
  8. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  9. A panel can not be added to another panel.
  10. A package is a collection of
  11. DataInput is
  12. It is an error to have a method with the same signature in both the super class and its subclass.
  13. A catch can have comma-separated multiple arguments.
  14. Servlet has ___________
  15. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  16. When we implement an interface method, it should be declared as public.
  17. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  18. A static class method can be invoked by simply using the name of the method alone.
  19. class.forName(...) creates an instance of java ODBC driver
  20. The concept of multiple inheritance is implemented in Java by
  21. When we implement the Runnable interface, we must define the method
  22. Members of a class specified as private are accessible only to the methods of the class.
  23. The break statement is required in the default case of a switch selection structure.
  24. Any method in a supper class can be over ridden in its subclass.
  25. The use of protected keyword to a member in a class will restrict its visibility as follows:
  26. In RMI before running the client program we must start RMI Registry.
  27. The methods wait() and noify() are defined in
  28. Consider the following class definitions: class maths { student student1; } class student { String name;…
  29. JdbcOdbcDriver is an object of Object class
  30. With javadoc, which of the following denotes a javadoc comment?