Any class may be inherited by another class in the same package.

A. True

B. False

You can do it
  1. Which are the valid ways to create DataInputStream streams?
  2. Which key word can protect a class in package from accessibility by the classes outside the package?
  3. Declarations can appear anywhere in the body of a Java method.
  4. When we invoke repaint () for a Component, the AWT invokes the method:
  5. forName() is a static factory method
  6. A constructor must always invoke its supper class constructor in its first statement.
  7. A JSP file can be stored_________________
  8. Java always provides a default constructor to a class.
  9. Java is fully object oriented programme.
  10. In RMI we invoke client method from remote server
  11. With javadoc, which of the following denotes a javadoc comment?
  12. Throwing an exception always causes program termination.
  13. Submit button always fires doPost(...)
  14. Which of the following are keywords?
  15. Which of the following methods can be used to remove a component from the display?
  16. Any class may be inherited by another class in the same package.
  17. Connection, Statement are interfaces and ResultSet is a class.
  18. Consider the following class definitions: class maths { student student1; } class student { String name;…
  19. Which exception is thrown by the read() method of InputStream class?
  20. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  21. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  22. In order to connect to a database through java program we must create _______-
  23. A panel can not be added to another panel.
  24. Which of the following classes are available in the java.lang package?
  25. The keywords reserved but not used in the initial version of Java re:
  26. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  27. When the string objects are compared with ==, the result is true If the strings contain the same values.
  28. JSP files creates ________________
  29. Which of the following control expressions are valid for an if statement?
  30. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.