【初心者】Java質問・相談スレッド54【大歓迎】
■ このスレッドは過去ログ倉庫に格納されています
0430デフォルトの名無しさん
NGNGhttp://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#41147
> Unqualified class instance creation expressions begin with the keyword new.
> An unqualified class instance creation expression may be used to create an instance of a class,
> regardless of whether the class is a top-level (§7.6), member (§8.5, §9.5), local (§14.3) or anonymous class (§15.9.5).
みたいに JLS では the keyword new とか the new keyword とかって書かれてます。
other operators で演算子なのは .、 ?:、instanceof だけのような…
単にC++の慣習が抜けてない人が書いただけだと思われ。
■ このスレッドは過去ログ倉庫に格納されています