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. Connection, Statement are interfaces and ResultSet is a class.
  2. Which of the following statements are true?
  3. The name of the RMI compiler is ___________
  4. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  5. The length of a string object 's1' can be obtained using the expression s1.length.
  6. The import statement is always the first no comment statement in a Java program files.
  7. Servlet can have ___________
  8. Which of the following command lines options generates documentation for all classes and methods?
  9. Consider the following class definitions: class maths { student student1; } class student { String name;…
  10. Which of the following classes are available in the java.lang package?
  11. Declaring a method synchronized guarantees that the deadlock cannot occur.
  12. The break statement is required in the default case of a switch selection structure.
  13. Which javadoc tag is used to denote a comment for methods parameters?
  14. Java always provides a default constructor to a class.
  15. What does the following line of code do?TextField text=new TextField(10);
  16. Which of the following are keywords?
  17. JSP files creates ________________
  18. When we implement the Runnable interface, we must define the method
  19. A static class method can be invoked by simply using the name of the method alone.
  20. A Java monitor must either extend thread class or implement Runnable interface.
  21. To delete a file, we can use an instance of class file.
  22. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  23. Which of the following represent legal flow control statements?
  24. The default case is always required in the switch selection structure.
  25. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  26. Objects are passed to a method by use of call-by-reference.
  27. Which of the following will produce a value of 10 if x = 9.7?
  28. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  29. class.forName(...) creates an instance of java ODBC driver
  30. The check box group class is a subclass of the component class.