Which of the following statements are false about classes SE

Which of the following statements are false about classes?

SELECT ALL POSSIBLE RESPONSES

Select one or more:

a. A final class can be implemented.

b. A final class can have instances.

c. An abstract class cannot be inherited.

d. A final class can be extended.

e. A concrete class does not have to define all of the abstract methods that it inherits from an abstract class.

f. An abstract class can be extended.

Solution

Answer:

a. A final class can be implemented.

c. An abstract class cannot be inherited.

d. A final class can be extended.

e. A concrete class does not have to define all of the abstract methods that it inherits from an abstract class.

Explanation:

final class can not be inherited means can not be implemented or can not be extended.

abstract class can be inherited and its anstract methods can be implemented in sub classes.

Concrete class should implement all abstract methods of abstract class that inherits from it.

Which of the following statements are false about classes? SELECT ALL POSSIBLE RESPONSES Select one or more: a. A final class can be implemented. b. A final cla

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site