0
I want, when the user finish to type his infos on myOwn_ID to secure the data so no one can change it, how to make it ?
7 Antworten
0
In the main i put "Luc" as Name but the former name is delete and replaced by "Luc". When i want to put another name i want the programm to tell me thats there is already another name in myOwn_ID.(namesection) and ask the user if we want to change the name or keep it
Help :)
0
Thanks mate, i was wrong in the getter method, and i wasnt typing to correct variable to return ! Is it good now ? Avinesh
0
Amadou Bassirou NDIAYE Perfect
0
Avinesh can you remind me please the way to take ID infos for more than 1 person, i dont see your first comment
0
Amadou Bassirou NDIAYE do you want to show details for more people?
0
After asking the user to set his infos, I tried in the main to Set a Name by initializating it by using myOwn_ID.setName("John") and when i display it, it deletes the former name that the user put and put "John". I want my programm to tell me that there is already a name on myOwn_ID.setName() and i have to type another ID infos
Tell me if i wasnt clear, my english is not that good
0
Amadou Bassirou NDIAYE
See if this helps
https://code.sololearn.com/cZwMfDoek3Dx/?ref=app