Question: Which statement best describes overriding a method? Your answer: Methods in a base class and derived class have the same name but different visibility modifiers.
Which statement best describes overriding a method? Your answer: Methods in a base class and derived class have the same name but different visibility modifiers. Methods in a base class and derived class have the same name and have the same number and types of parameters Methods in a base class and derived class have the same name but have different return types. Methods in a base class and derived class have the same name but different number or types of parameters. None of the above, Clear
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
