//-- メソッド中のインターフェース -- コンパイルエラー class Samp06 { public static void main(String[] args){ interface InterA { void met(); } } }