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.

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. The modulus operator (%) can be used only with Integer operands.
  2. In the code below, what data types the variable x can have?
  3. DataInput is
  4. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  5. The programmer must explicitly create the system .in and system .out objects.
  6. We can over load methods with differences only in their return type.
  7. The concept of multiple inheritance is implemented in Java by
  8. The keywords reserved but not used in the initial version of Java re:
  9. A variable declared inside the for loop control can not be referenced out side the loop.
  10. Which of the following will produce a value of 22 if x=22.9:
  11. Submit button always fires doPost(...)
  12. Which of the following are keywords?
  13. A catch can have comma-separated multiple arguments.
  14. JdbcOdbcDriver is an object of Object class
  15. Objects are passed to a method by use of call-by-reference.
  16. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  17. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  18. The methods wait() and noify() are defined in
  19. Which exception is thrown by the read() method of InputStream class?
  20. The use of protected keyword to a member in a class will restrict its visibility as follows:
  21. A JSP file can be stored_________________
  22. A Java monitor must either extend thread class or implement Runnable interface.
  23. Which of the following statements are true?
  24. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  25. What is java -g used for?
  26. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  27. executeUpdate automatically updates data because___________
  28. It is perfectly legal to refer to any instance variable inside of a static method.
  29. What does the following line of code do?TextField text=new TextField(10);
  30. forName() is a static factory method