Skip to content
Advertisement

Tag: reference-type

Insert Dimensions to complete Expression/ReferenceType

I’m a newbie to Java. I have provided a short snippet from my code for BFS. According to Eclipse, I have an error on each of the last 4 lines. Syntax Error: insert “Dimensions” to complete expression/referencetype. I would appreciate any input/advice! Answer Cause of this error -You are trying to pass a primitive object into a generic type declaration

Advertisement