Implement the logic for file IO for the CodeGym class.
The file your_file_name.tmp can contain several CodeGym objects.
The main method exists just for you and is not involved in testing the solution.
Reading and writing to a file: CodeGym
- 20
Locked
Comments (7)
- Popular
- New
- Old
You must be signed in to leave a comment
Justin Smith
16 November 2021, 23:05
Getting this one in 1 attempt is virtually impossible, there's a hidden condition you would never expect (birthdate must be accurate to the millisecond).
0
Dave Andrea
25 August 2020, 18:52
Also, be careful if using Boolean.getBoolean(); It didn't behave the way I assumed it did and I wasted a ton of time.
+3
null
7 July 2020, 23:15
LOL never thought I can pass with 2 attemps, be careful when parsing the Date, using debugger to see it clearly if you don't know why having error.
+1
Patrick Moreland
15 April 2020, 20:56
Be sure to store and retrieve the birthDate in milliseconds. It doesn't say that in the conditions, but validation will fail if you store only the day, month and year.
+10
Bartlomiej Drozd
22 March 2021, 21:51
Thank you sir! Most appreciated!
0
Julián Orellana
6 March 2019, 17:42
help me , i have a error. when i compile my code,
this error occurs
Check why an exception occurs in the save/load methods.
-----------------------------------------------------------------------------------------------------------------------------
0
Roman
7 March 2019, 07:00
If you need help, something isn't right in your code, the server won't accept your solution (even if you are 100% sure that it is correct). Describe your question/issue in the HELP section at codegym.cc/help.
0