Name: Zak 2013-09-10 10:57
So I'm new to Java and I'm trying to understand some basics to help me along the way.
I'm trying to set a class named 'Invoice' that sets four instance variables: partNumber (string), partDescription (string), itemQuantity (int) and itemPrice (double).
Furthermore, I want to have a set and get method for each variable.
I'm trying my best to understand Java's syntax, but I'm having a lot of trouble.
Any help would be greatly appreciated.
I'm using Eclipse 11 btw.
I'm trying to set a class named 'Invoice' that sets four instance variables: partNumber (string), partDescription (string), itemQuantity (int) and itemPrice (double).
Furthermore, I want to have a set and get method for each variable.
I'm trying my best to understand Java's syntax, but I'm having a lot of trouble.
Any help would be greatly appreciated.
I'm using Eclipse 11 btw.