Question by riddletruckergirl: Java Programming “.class” expected?
I’m running into a compile error, and I’m really new to java programming. The error I am getting is ‘.class’ expected for the following:
CamInventory[k] = new Cameras(int ItemNumber, String Name, int UnitsInStock, double unitPrice);
How do I resolve this?
Answer by youronmyfoot
You need to state exactly what you are trying to do. Also, state exactly what your code is doing. THis will get you a better answer. It’s like me saying how do I get to the shops?
What do you think? Answer below!