What is wrong in the following class definitions? 
abstract class print { 
abstract show();
class Display extends print {

A. Nothing is wrong

B. Wrong Method show() should have a return type

C. Wrong Methods show() is not implemented in Display

D. Wrong Display does not contain any members.

You can do it
  1. Java always provides a default constructor to a class.
  2. An EJB is a server-side component that encapsulates the business logic of an application
  3. Which of the following statements are valid array declarations?
  4. A method declared as static can not access non-static class members.
  5. A class may be both abstract and final.
  6. EJBs can be of the following type(s)None of the above
  7. A panel can not be added to another panel.
  8. Any class may be inherited by another class in the same package.
  9. The check box group class is a subclass of the component class.
  10. The break statement is required in the default case of a switch selection structure.
  11. In RMI before running the client program we must start RMI Registry.
  12. When present, package must be the first no comment statement in the file.
  13. Every method of a final in class is implicitly final.
  14. Servlet can have ___________
  15. In the code below, what data types the variable x can have?
  16. The modulus operator (%) can be used only with Integer operands.
  17. A constructor must always invoke its supper class constructor in its first statement.
  18. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  19. Connection, Statement are interfaces and ResultSet is a class.
  20. Throwing an exception always causes program termination.
  21. Which of the following keywords are used to control access to a class member?
  22. Which key word can protect a class in package from accessibility by the classes outside the package?
  23. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  24. JdbcOdbcDriver is an object of Object class
  25. Servlet has ___________
  26. The keywords reserved but not used in the initial version of Java re:
  27. Which of the following statements are true?
  28. Which of the following represent legal flow control statements?
  29. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  30. What does the following line of code do?TextField text=new TextField(10);