Jhoel Esmejarda

Greenhorn
+ Follow
since Oct 17, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
7
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jhoel Esmejarda

Hi Winston,

Thanks for the post, actually I've been waiting for your comments . For now I will try my best to improve on things that you pointed out. Is there any book that you can recommend that can give me (as a beginner) a good start on things about Programming in Java?
6 years ago
@Vishal Shaw

Yeah I hope I can understand it thoroughly. Thank you.
6 years ago
@Vishal Shaw

Package? uhmm.. I think I should finish first the Head First Java book, I'm stuck in Chapter 5 Extra-Strength Methods, I don't know yet the package but I will try to learn it bit by bit. Thanks with the comments.
6 years ago
@harshvardhan ojha

Yeah I'm very interested in learning that, can you help me with that topic? thanks a lot.

@Jesper de Jong

Woah! lol, thanks a lot for that comments I appreciate it, it really helps.

If there are any other comments and suggestions just post in this topic TIA.
6 years ago
Hello everyone,

I'm back with my Vending Machine I need again your help, before I posted the my codes here in Java Ranch and I got so many advices regarding how I code. I hope this new codes does some improvements. Okay, here's the program Vending Machine program which gives you food and change if your inserted a big amount of money. I have here 3 Classes. The first one is the Menu Class,



second one is the Slot Class that gets your order and payment,



and the third one VendingMachine Class with the main() method,



Please help me with this, I don't have any formal training with programming nor a graduate of any computer course, I'm just studying by myself and hoping I can get this Java language so that I can start a career. I hope someone bothers to check my codes and explains anything that you think is wrong or on how I code so that I can add this up to my notes. thanks a lot.
6 years ago
Wow thanks a lot with the great comments.. I will surely take note of the things that you notice on how I do things. Now I know what I'm lacking. thanks again if there is anything that you can add kindly inform me.
6 years ago
@Tony

I really do have time to sit down and write it in a paper the first part of that code was written and what I wrote was actually good(for me I think lol), the problem is when I came up with an update I immediately put it to codes. Regarding MVC, I will try to learn this, actually its the first time that I posted my codes, the first time after 1 month of studying java that I got a suggestion, and to talk my codes to someone rather than the comparing my codes in the examples written in the book. Thank you very much
6 years ago
Oopss my bad sorry.. thanks for the edit. for next time, sure will do.
6 years ago
Hi everyone,

I am new to Programming, Java is my first language that I would like to learn. Currently I am trying to learn Java with the help of Head First Java, I got some problems with the Extra - Strength Methods chapter.. I am confused on how to separate all my classes and let them interact in my main(), so I come up with exercises and one of the ideas that I am currently working on is the Vending Machine Program, currently I have 3 classes, first is


and the second one is,



and to test my methods I come up with the TestDrive Class(but i guess this should be a real class, I am really confuse with this one).


Now the problem is I want to know what of these codes is unnecessary and the problem with the setOrder() method if I input a greater number than 3 it will go to the next method that will ask for the quantity my desired output should be if the user inputted a number that is greater than 3 it will just print "Invalid Selection" on the screen. I hope someone could be of help. thanks
6 years ago