When you call the method, how would it know what to return?
int myNumber = getData();
What is myNumber? num1 or num2? It can't be both. How would it decide which one to use. Futhermore,...
Type: Posts; User: ChristopherLowe
When you call the method, how would it know what to return?
int myNumber = getData();
What is myNumber? num1 or num2? It can't be both. How would it decide which one to use. Futhermore,...