Home

All methods in an abstract class must be declared abstract.

A. True

B. False

You can do it
  1. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  2. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  3. The import statement is always the first no comment statement in a Java program files.
  4. A final class may not have any abstract method.
  5. Which of the following represent legal flow control statements?
  6. All methods in an abstract class must be declared abstract.
  7. forName() is a static factory method
  8. Which of the following methods can be used to draw the outline of a square?
  9. Which key word can protect a class in package from accessibility by the classes outside the package?
  10. Java always provides a default constructor to a class.
  11. We would like to make a member of a class visible in all subclasses regardless of what package they…
  12. The programmer must explicitly create the system .in and system .out objects.
  13. Consider the following class definitions: class maths { student student1; } class student { String name;…
  14. Which of the following are keywords?
  15. In RMI before running the client program we must start RMI Registry.
  16. A class may be both abstract and final.
  17. Which of the following statements are true?
  18. Which of the following command lines options generates documentation for all classes and methods?
  19. Connection, Statement are interfaces and ResultSet is a class.
  20. The keywords reserved but not used in the initial version of Java re:
  21. JSP files creates ________________
  22. Which of the following control expressions are valid for an if statement?
  23. Every method of a final in class is implicitly final.
  24. The use of protected keyword to a member in a class will restrict its visibility as follows:
  25. The name of the RMI compiler is ___________
  26. Which of the following statements are valid array declarations?
  27. What does the following line of code do?TextField text=new TextField(10);
  28. Which of the following classes are available in the java.lang package?
  29. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  30. The check box group class is a subclass of the component class.