変数定義時に自身を参照できる
static String foo = foo = "ABCD";
String bar = bar = "ABCD";
void hoge() {
String baz = baz = "ABCD";
}
実行結果(IDEONE)
https://ideone.com/48OXMp
Go to list of users who liked
More than 3 years have passed since last update.
変数定義時に自身を参照できる
static String foo = foo = "ABCD";
String bar = bar = "ABCD";
void hoge() {
String baz = baz = "ABCD";
}
実行結果(IDEONE)
https://ideone.com/48OXMp
Register as a new user and use Qiita more conveniently
Go to list of users who liked