Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static String formatSecToMin(int i) {
Object aobj[] = new Object[2];
aobj[0] = Long.valueOf((long) i / 60L);
aobj[1] = Long.valueOf((long) i % 60L);
return String.format("%d:%02d", aobj);
}
}