-King-
Deadly King wrote:This is my Code for ItemsToPurchase
-King-
Please delete the comments which don't tell us anything new. We know you have private fields, so a comment saying private fields is no use to anybody.Dante King wrote:
-King-
Dante King wrote:Criticizing me for my errors
I am sure there are even worse places.Dante King wrote:. . . probably the worst possible way for me to learn java
No, you don't. You can always look for a different course.but I have to stick with it because I am learning the basics. . . .
Liutauras Vilda wrote:
Dante King wrote:Criticizing me for my errors
Oh, I missed that, don't get us wrong, we don't criticise you, but your code, and you're learning, same as I and many others here - so every time somebody sees a bad thing - points out, even though it isn't a main discussion point. So, no worries about that![]()
Can you post your instructions, so we could all have a look? You probably understand, that without seeing them not much we can help you, just to criticise code parts we see without knowing the context what is asked.
-King-
-King-
String itemName - initialized to "none" in default constructor ...
Default constructor
Please avoid complete solutions until the poster has had enough time to work it out for themselves. It doesn't help learning simply to provide an answer. In this case it is obviously an old thread and complete solutions cannot do any harm.zwj;We're all here to learn, so when responding to others, please focus on helping them discover their own solutions, instead of simply providing answers.
Straws are for suckers. Now suck on this tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|