fork download
  1. class Ideone {
  2.  
  3. public static void main(String[] args) {
  4. int x=5,y=9;
  5. int numMin=Math.min(x,y);
  6. System.out.println("the max of number: " + numMin);
  7. }
  8. }
  9.  
Success #stdin #stdout 0.1s 55604KB
stdin
Standard input is empty
stdout
the max of number: 5