Input
Output
public class Ifelse { public static void main(String []args) { int a=10,b=15; if(a > b) { System.out.println("Print the value of a "+a); } else{ System.out.println("Print the value of b "+b); } } }