Question: Select all true statements about @Override Question 1 0 options: An overriding method has to have the same input types and return type as the
Select all true statements about @Override
Question options:
An overriding method has to have the same input types and return type as the method it overrides.
You can put @Override on a method that doesn't override another method with no problem.
@Override tells the Java compiler to verify that a method was overridden.
@Override is optional
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
