Hey guys, I have started java for a uni class. I am now using object oriented programming. I have taken vb so i know what functions/methods are. however i am having a hard time coding some programs for an assignment. I will try to make this thread as descriptive as possible so you can help me better. The text book i am using is murach's java se 6. its a pretty good book, but i am lost in this object oriented and methods part. i do not know how to have user input from one class passed through to another class. The link to the asignment is here. However i am not asking for someone to do the assignment. I am asking for help on how to pass variables and how/where to make the object. I really want to learn this so im not asking for a written program. I've attached a flow diagram that i used to map out how i think the program will work. i have attached my code so that you can see where i have lost my train of thought, or gone wrong. thank you in advance
themafia_69 0 Newbie Poster
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
themafia_69 0 Newbie Poster
themafia_69 0 Newbie Poster
heart_18 0 Newbie Poster
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.