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