Home

It is an error if a class with one or more abstract methods is not explicitly declared abstract.

A. True

B. False

You can do it
  1. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  2. Throwing an exception always causes program termination.
  3. The length of a string object 's1' can be obtained using the expression s1.length.
  4. Which of the following are the wrapper classes?
  5. Any method in a supper class can be over ridden in its subclass.
  6. Every method of a final in class is implicitly final.
  7. DataInput is
  8. All the bitwise operators have the same level of precedence in Java.
  9. It is an error to have a method with the same signature in both the super class and its subclass.
  10. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  11. A variable declared inside the for loop control can not be referenced out side the loop.
  12. Which of the following are keywords?
  13. Which of the following statements are true?
  14. We can over load methods with differences only in their return type.
  15. Submit button always fires doPost(...)
  16. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  17. Which javadoc tag is used to denote a comment for methods parameters?
  18. Which of the following statements are true?
  19. A constructor must always invoke its supper class constructor in its first statement.
  20. When we implement the Runnable interface, we must define the method
  21. Consider the following class definitions: class maths { student student1; } class student { String name;…
  22. Which of the following will produce a value of 10 if x = 9.7?
  23. The concept of multiple inheritance is implemented in Java by
  24. The modulus operator (%) can be used only with Integer operands.
  25. Which of the following methods belong to the String class?
  26. EJBs can be of the following type(s)None of the above
  27. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  28. Which of the following will produce a value of 22 if x=22.9:
  29. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  30. A panel can not be added to another panel.