Answer the question
In order to leave comments, you need to log in
Inheritance in Java, how to properly inherit a method?
Good afternoon.
There is an initial class which contains some methods.
Something like:
public List<datastrucutre> calculate(Math math){
//somecode
return List<datastrucure>;
}
@Override
public List<datastrucutreEXTENDSMATH> calculate(Math math){
//somecode, changed
return List<datastrucureEXTENDMATH>;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question