Answer:
Clock (int hours, boolean isTicking, int diff) // constructor clock
{
this.hours = hours;
// set the instance variable hours
this.isTicking = isTicking;
// set the boolean variable isTicking
this.diff =diff;
//set the instance variable diff
}
Explanation:
Here we declared a constructor clock which has 3 parameter hours,boolean isTicking,and diff.
The int hours, diff is of int type and isTicking is of boolean type. In this constructor, we set the instance variables values by using this keyword.
Answer:Thank you very much! A user names SShalomeea has been hacking today. Anyone with that photo is a spammer.
I don’t think it will work sadly. You can probably accumulate points though on your pre existing account. Hope that helps!