I'm very new to Java, and haven't learned much in my course. Every time I try running my code, I am told that I do not have a main method. However, I thought that 
public void main(String[] args) { 
declares the main method, and it is located at the bottom of my code. Can anyone help revise the code to get it to run?

```
package Java2;
import java.util.Date;

public class tenpoint01 {

public class Time {
    private int hour;
    private int minute;
    private int second;
    public Time() {
    this(System.currentTimeMillis());
}

public Time(long elapsed) {
    Date date = new Date(elapsed);
    this.hour = date.getHours();
    this.minute = date.getMinutes();
    this.second = date.getSeconds();
}

public Time(int hour, int minute, int second) {
    this.hour = hour;
    this.minute = minute;
    this.second = second;
}

private void setTime(long elapsedTime) {
    Date date = new Date(elapsedTime);
    this.hour = date.getHours();
    this.minute = date.getMinutes();
    this.second = date.getSeconds();
}

public int getHour() {
    return hour;
}

public int getMinute() {
    return minute;
}

public int getSecond() {
    return second;
}

@Override
public String toString() {
    return hour + ":" + minute + ":" + second;
}
/**
* @param args the command line arguments
*/
public void main(String[] args) {
    Time time = new Time();
    Time time2 = new Time(555550000);
    System.out.println(time);
    System.out.println(time2);
}
}
}

```