Question: Explain what is wrong with following method definition. public static void SubtractNumbers(int x, int y) {return x + y;}
Explain what is wrong with following method definition. public static void SubtractNumbers(int x, int y) {return x + y;}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
