I understand how to create a class, I am just confused about the type attributes. Can anyone assist me with this?
Write class Computer with attributes brand, type, price. The type attribute is an enumerated type variable with values DESKTOP, LAPTOP, and TABLET. Adhere to our Java coding standards. Computer has an additional method, calculateCharge, that accepts the quantity sold and returns the total charge.