I have a program to do that i make my own class, with constructors and methods.
im going to call it Lab4. when i do this part:
public class Lab4
do i have to name my default and overload constructor lab4?
or can i do
public Time() //constructor with default values
hrs = 0;
min = 0;
sec = 0;
public Time(int h, int m, int s) //overloaded constructor