Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    private static String[] get12HourArray() {
        final int SIZE = 12;
        String[] hour = new String[SIZE];
        int index;
        for (index = 0; index < SIZE; index++) {
            String indexValue = String.valueOf(index);

            hour[index] = indexValue;
        }
        return hour;
    }
}