Quantcast
Channel: '(' or '[' expected compiling error under UNIX - Stack Overflow
Viewing all articles
Browse latest Browse all 3

'(' or '[' expected compiling error under UNIX

$
0
0

Here's a piece of my code. It has no problem under windows.

LinkedList<TreeNode> queue = new LinkedList<TreeNode>();

However in UNIX, javac gives "'(' or '[' expected" at the first angle bracket near new LinkedList<TreeNode>

What's wrong with that?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images