Write the definition of a method min that has two int parameters and returns the smaller.

Write the definition of a method min that has two int parameters and returns the smaller.


public static int min(int a, int b)
{
return a<= b? a:b;
}


Learn More :

Learn More Multiple Choice Question :