Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static String formatTime(int what) {
        String dur = null;
        dur = (what < 10) ? "0" + String.valueOf(what) : String.valueOf(what);
        return dur;
    }
}