Basics_Que_06

Home / Java Practice Question / Basics_Que_06

Basics_Que_06


WAP to find maximum between two Number.....

Program : 


public class Loop {

public static int maxiNum(int num1 , int num2 ){
if(num1>num2){
return num1;
}else {
return num2;
}
}

}