About Question enthuware.ocajp.i.v7.2.1008 :
Posted: Mon Jul 09, 2018 6:35 am
Hello. You said
The second pair is:
2.
void perform_work(int time){ }
int perform_work(int speed){return speed ;}
Is return type not a part of the method signature?The second pair of methods will not compile correctly, since their method signatures are same
The second pair is:
2.
void perform_work(int time){ }
int perform_work(int speed){return speed ;}