One problem I see is the use of two Scanner objects that both read from System.in.
If the Scanner class reads data into a buffer. If there are two Scanner objects, I do not know which object will...
Type: Posts; User: Norm
One problem I see is the use of two Scanner objects that both read from System.in.
If the Scanner class reads data into a buffer. If there are two Scanner objects, I do not know which object will...
The first part of the String returned by the toString method is: "Név: "
why don't those 4 characters show up in the printed output? Even if marka contained an empty String, those 4 characters...
Ok, can you say what is wrong with that line and show what the correct output should be?
--- Update ---
What does the toString() method contain for the Autok class?
Thank you, that is better.
Sorry, I do not understand what the problem is. Is the program's output not formatted correctly? Can you post the current output with some comments saying what is wrong...
Please copy and paste any information about the problem here as text, not as images.