OK I made some changes and I'm having some other issues now. Here is my code and below will be the error message I am getting.
/*
* To change this template, choose Tools | Templates
* and...
Type: Posts; User: ggarrett
OK I made some changes and I'm having some other issues now. Here is my code and below will be the error message I am getting.
/*
* To change this template, choose Tools | Templates
* and...
Dude I have no idea how to repair the code because I don't know where it went wrong. I have one error. Everything else compiles fine.
Line 26:
[highlight=Java]
Object DVD dvd = new DVD (1, "Matrix", 5, 2.15);
[/hightlight]
At line 26 it gives the following error:
';' expected
required string, double, double, double
I have been struggling with this program. It's an inventory program for class. It won't run and I need to modify it today with the following criteria Please help:
Use an array to store the...
I applied the suggested solutions, but it is still not running correctly. I have no errors but it is still not running. Code below.
package inventory1;
/**
*
* @author Gary
*/
This is my code:
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package inventory1;
My assignment:
a product class that holds the item number, the name of the product, the number of units in stock, and the price of each unit.
Create a Java application that displays the product...
Thanks for the heads up.
My name is Gary Garrett, I just recently started programming with Java. I'm currently taking a classes and have no idea what I'm doing yet. It's nice to have a forum to come to and learn new things,...