This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi again! Please help me. My program is working but I have problem whit class Car: regNr=Input.readString(); after running of the program I can not put in the string value. if I change it to int the program is working otherwise the program jump form regNr=Input.readString(); to next input:maxLoad=Input.readInt(); why I have this problem. please test the program.
Hi! The user puts in a new register number which is a String like this:ex "SDF 231" and the program should print out this register number. My problem is that I can not put in new register number. when I try to put in new register number the program jumps to next input sentence.
Joined: Jun 05, 2003
I understand that but I'm wondering what king of an InputStream you are using to read in the strings. You have an Input defined and I'm trying to gather what this refers to. I'm guessing that your problem may lie there!