This is my first semester taking programming design and I ran into a small problem. The program calls for using arrays and for some reason I keep getting the '.class' expected error message. When I go to build output it shows the error is the + symbol with the array.
Here is what I have so far.
Line
32 int hrsWorked[] = new int[5];
56 totalHoursWorked = hrsWorked[] + totalHrsWorked;
Our unstructor mainly shows us how to write psuedocode and then he does the programs on the overhead without really explaining the steps to solve these type of errors. Would greatly appreciate any help because this will not build the way it is.
New To Making Programs
Started by
Doug C.
, May 15 2012 01:08 AM
2 replies to this topic










