Hi!
I have some questions on Java:
Write a literal representing the largestcharacter value .
I think the aswer is:
Del
1 more question:
You are given a class named Clock that has three instance variables : One of type int called hours , another of type boolean called isTicking , and the last one of type Integer called diff . Write a constructor for the class Clock that takes three parameters -- an int , a boolean , and another int . The constructor should set the instance variables to the values provided.
U think the ans. is:
public Clock ( int hours, boolean isTicking, Integer diff )
{
this.hours = hours;
this.isTicking = isTicking;
this.diff = diff.clone();
}
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!