Which two classes correctly override the getDepth method?

Given:


Which two classes correctly override the getDepth method?
A. public class deep extends Deeper {
protected Integer getDepth(){
return 5;
}}
B. public class deep extends Deeper {
public Double getDepth() {
return 5d;
}}
C. public class deep extends Deeper {
public String getDepth () {
}}
D. public class deep extends Deeper {
public Long getDepth (int d) {
return 5L;
}}
E. public class deep extends Deeper {
public Short getDepth () {
return 5;
}}

Download Printable PDF. VALID exam to help you PASS.

One thought on “Which two classes correctly override the getDepth method?

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.