Home

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. class.forName(...) creates an instance of java ODBC driver
  2. Java is fully object oriented programme.
  3. When we implement an interface method, it should be declared as public.
  4. executeUpdate automatically updates data because___________
  5. An individual array element that is passed to a method and modified in that method will contain the…
  6. What does the following line of code do?TextField text=new TextField(10);
  7. Java always provides a default constructor to a class.
  8. The use of protected keyword to a member in a class will restrict its visibility as follows:
  9. A string object can not be modified after it is created.
  10. The check box group class is a subclass of the component class.
  11. A class may be both abstract and final.
  12. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  13. A final class may not have any abstract method.
  14. With javadoc, which of the following denotes a javadoc comment?
  15. JdbcOdbcDriver is an object of Object class
  16. A constructor must always invoke its supper class constructor in its first statement.
  17. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  18. Which of the following keywords are used to control access to a class member?
  19. When the string objects are compared with ==, the result is true If the strings contain the same values.
  20. A static class method can be invoked by simply using the name of the method alone.
  21. Which of the following are the wrapper classes?
  22. It is perfectly legal to refer to any instance variable inside of a static method.
  23. In RMI before running the client program we must start RMI Registry.
  24. To delete a file, we can use an instance of class file.
  25. In the code below, what data types the variable x can have?
  26. Which of the following methods can be used to draw the outline of a square?
  27. The break statement is required in the default case of a switch selection structure.
  28. The name of the RMI compiler is ___________
  29. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  30. In RMI we invoke client method from remote server