Quantcast
Channel: OKWAVE 閲覧数の多い質問(Java/253)【本日】
Viewing all articles
Browse latest Browse all 68675

A a = new A(){}; の構文の意味が分からない。

$
0
0
下記サイトのコードを読んでいて、 ResponseListener listener = new ResponseListener() { //略 }; という書き方があったのですが、どういう意味になるのでしょうか? インスタンスの作り方は単に A a = new A(); だと思うのですが…。 http://www.snmp4j.org/doc/org/snmp4j/Snmp.html

Viewing all articles
Browse latest Browse all 68675

Trending Articles