Quick java question

Joined
Dec 13, 2008
Messages
1
Reaction score
0
Hey

Ive got 2 classes, Time and Delivery. In Time ive got 2 fields "hour & minute" both field types int. I then use code to get a string displaying both int "hour:min". In the delivery class ive got fields of type Time from which i pass the parameters to the Time constructor. My question is, how can i display string in the Delivery class? If that all makes sense.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,809
Latest member
moe77

Latest Threads

Top