True/False 8

  1. A final class can have instances.
  2. You cannot create an instance of an abstract class using the new operator.
  3. A final class can be extended.
  4. An abstract class can be extended.
  5. You can always successfully cast a subclass to a superclass.
  6. You can always successfully cast a superclass to a subclass.
  7. An interface can be a separate unit and can be compiled into a bytecode file.
  8. The order in which modifiers appear before a class or a method is important.
  9. Every class has a toString() method and an equals() method.
  10. The instanceof operator is used to determine whether an object is an instance of a certain class.
Visited times since 7 March 1999.