create a main class to test your clock
Type: Posts; User: Rauda
create a main class to test your clock
yeah i want the whole code
yeah
i need to do them in package I guess and class something like that
a classTester for the main class clock
the question explains it all
public class Clock {
private int hr;
private int min;
private int sec;
public int getHour() {
return hr;
}
i didn't understand
do it for me:(
ok so, that's what I've done so far..
you got the idea right?
public class Clock {
private int hr;
private int min;
private int sec;
Write the following methods in a Java program:
a) A Java method fillArray() that shall fill a 2D array from the keyboard . The method input parameters are an array A and the array size.
b) A...
Thank you for the reply :D
I didn't start the program yet
didn't know how to start :-??
Implement a Clock class that has a tick method tick() and variables: hr, min, and sec. Build a test class that has:
C1_int as an initial time (e.g., 10:30:00) Clock c1_int = new Clock();...
This is my very first post in this beautiful community.
I'm really looking forward to help each other and get more knowledge about programming. b-)