public class Methods {

public Methods() {
}

public int north(int num1, int num2) {
int temp = num1;
num1 = num2;
num2 = temp;
System.out.println("num1 - num2 = " + (num1 - num2));
return 3 * (num1 - num2);
}
}
And What is out put of this question

1 answer

The output of this code will be:
num1 - num2 = 4
Similar Questions
  1. using System;namespace RecipeApp { class Recipe { public string[] Ingredients { get; set; } public string[] OriginalIngredients
    1. answers icon 1 answer
  2. Which of the following BEST describes a public opinion?A. A public opinion is an idea stated publicly. B. A public opinion is
    1. answers icon 3 answers
  3. using System;namespace RecipeApp { class Recipe { public string[] Ingredients { get; set; } public string[] Steps { get; set; }
    1. answers icon 1 answer
  4. using System;namespace RecipeApp { class Recipe { public string[] Ingredients { get; set; } public string[] Steps { get; set; }
    1. answers icon 1 answer
more similar questions