0
Angle braces < > ?
Can someone tell me the use for angle braces? I understand that curly braces {} are for code blocks and parenthesis () for methods or functions. Any help is appreciated
1 Answer
+ 3
They can be used when creating an Array list, declaring what type of items are in the list.
E.g.
ArrayList<String> stringArr = new ...