#Hilfe bei einem Bankautomatenprogramm
1 messages · Page 1 of 1 (latest)
because u got 2
( and on the second section of a code, u got a space to much in your code , the method needs to follow the . direclty )
(fyi this is an english only server)
btw u shouldnt create two scanners on the same resource. create one and reuse it
private static final Scanner scanner = new Scanner(System.in);
either create it like that outside of the method (but inside the class)
or let the second method take scanner as method parameter from the first