Question: In Java, can you have a final method in a superclass that is overridden in a subclass? Select one: a . No , can't define
In Java, can you have a "final" method in a superclass that is overridden in a subclass?
Select one:
a No can't define method as final.
b No a "final" method cannot be overridden in any subclass.
c Yes, but only if the subclass is in a different package.
d Yes, and it can be further overridden in another subclass.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
