Accessor help needed (I think...- little confussed)
Hi Guys, I'm new to java and I'm struggling a bit this semester as we've introduced using a main file and then a driver file.
At the moment I'm trying to get my head around accessor methods.
I've written this code to convert time in seconds into "hours:minutes:seconds" format.
If in another file I set something (either via a scanner, or just a plan int variable with a value of seconds), how can I send it to the TimeDisplay class to return the correctly formatted time?
Many thanks in advance :)