True or False Statements: (You must briefly justify your response.) 1. An abstract class can have only abstract methods and no method with implementation. 2. When a class is marked as final, it can't be extended, but its methods can still be overridden. 3. The this keyword can be used to reference the current object of a class. Also, in order to call the superclass's constructor, the super() call can only be used in a constructor and as the first line statement. 4. An interface can have a constructor. 5. Polymorphism instructs a subclass to override all the methods of its superclass 6. Inheritance is always transitive. 7. The static keyword is used to define a variable or method that is unique to each instance of a class. 8. A class that is marked as abstract must have at least one abstract method. 9. A class can be marked as 'final' and 'abstract' at the same time. 10. An interface can extend another interface but not an abstract class. A Go
True or False Statements: (You must briefly justify your response.) 1. An abstract class can have only abstract methods and no method with implementation. 2. When a class is marked as final, it can't be extended, but its methods can still be overridden. 3. The this keyword can be used to reference the current object of a class. Also, in order to call the superclass's constructor, the super() call can only be used in a constructor and as the first line statement. 4. An interface can have a constructor. 5. Polymorphism instructs a subclass to override all the methods of its superclass 6. Inheritance is always transitive. 7. The static keyword is used to define a variable or method that is unique to each instance of a class. 8. A class that is marked as abstract must have at least one abstract method. 9. A class can be marked as 'final' and 'abstract' at the same time. 10. An interface can extend another interface but not an abstract class. A Go
Related questions
Question

Transcribed Image Text:True or False Statements: (You must briefly justify your response.)
1. An abstract class can have only abstract methods and no method with implementation.
2. When a class is marked as final, it can't be extended, but its methods can still be overridden.
3. The this keyword can be used to reference the current object of a class. Also, in order to call the
superclass's constructor, the super() call can only be used in a constructor and as the first line
statement.
4. An interface can have a constructor.
5. Polymorphism instructs a subclass to override all the methods of its superclass
6. Inheritance is always transitive.
7. The static keyword is used to define a variable or method that is unique to each instance of a
class.
8. A class that is marked as abstract must have at least one abstract method.
9. A class can be marked as 'final' and 'abstract' at the same time.
10. An interface can extend another interface but not an abstract class.
A
Go
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
