+ 1

Changing array in .java file from user input

How do I make my code save a new user's username and password to the array so that it actually adds it in the code too. That way the next time the code is ran, that new user is no longer a new user, and can just type in their username and password that they saved? I have most of it done, with some help. But I don't know how to actually save it in the code. https://code.sololearn.com/cx4eCiJ5fBj6/#java

6th Jan 2019, 5:31 AM
Dustin James Locey
Dustin James Locey - avatar
2 odpowiedzi
+ 2
You need to handle it with writing and reading files. You can do it in a console (install IDE and run in a computer) But not on sololearn code playground.
6th Jan 2019, 3:57 PM
Gordon
Gordon - avatar
+ 1
I use BlueJ on my pc
6th Jan 2019, 5:24 PM
Dustin James Locey
Dustin James Locey - avatar