すぐ忘れるJavaのはなし
Integerは -128~127 の範囲でキャッシュされてる話
stream
thowableはキャッチしちゃだめだよというはなし
As per the Java documentation, the Exception class “indicates conditions that a reasonable application might want to catch“.
According to the Java documentation, the Error class “indicates serious problems that a reasonable application should not try to catch“.
import java.io.* とかすると、実行パフォーマンスに影響があるの?( java.io.File とかにしないとだめ? )
ない。コンパイル時間には影響はあるかも。