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?

Best answer:

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!

One thought on “Java Programming “.class” expected?”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.