S
Stefan Ram
According to
http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.9
the following production holds
<ClassInstanceCreationExpression> ::=
"new" [<TypeArguments>] <ClassOrInterfaceType> "(" [<ArgumentList>] ")"
What would be an example for a class instance creation expression
with type arguments? Here's a reminder about those:
<TypeArguments> ::=
"<" <TypeArgument> {"," <TypeArgument>} ">"
What I would understand would be:
<ClassInstanceCreationExpression> ::=
"new" <ClassOrInterfaceType> [<TypeArguments>] "(" [<ArgumentList>] ")"
http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.9
the following production holds
<ClassInstanceCreationExpression> ::=
"new" [<TypeArguments>] <ClassOrInterfaceType> "(" [<ArgumentList>] ")"
What would be an example for a class instance creation expression
with type arguments? Here's a reminder about those:
<TypeArguments> ::=
"<" <TypeArgument> {"," <TypeArgument>} ">"
What I would understand would be:
<ClassInstanceCreationExpression> ::=
"new" <ClassOrInterfaceType> [<TypeArguments>] "(" [<ArgumentList>] ")"