This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java help!!!!

 
joe kane
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I want to write a programe that does the following:
An input where the user can enter their,
1.Name / 2.Start time / 3.Finish time (24hr Clock & 2 decimal places)
Then the program displays their Name and how many hours between start & finish.
I know I need different classes
e.g. Time.java --> to validate the time
Employee.java
EmployeeTest.java
I am a noob to the Java, any help is much apricated, I will post my code ASAP
Thanks joePC
 
joe kane
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Here is the code I have to validate the time in TIME.java (Class)
 
Ben Buchli
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly is the problem??
 
joe kane
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Creating the input for the user so they can input there name & Start time & finish time.
Thanks joe.....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic