★★Java質問・相談スレッド150★★
■ このスレッドは過去ログ倉庫に格納されています
0199デフォルトの名無しさん
2012/01/01(日) 14:54:39.92んー
package com.example;
public class A {
private int a;
public static class B {
public static void test() {
a = 1;
}
}
}
Description Resource Path Location Type
Cannot make a static reference to the non-static field a A.java /com.example/src/com/example line 9 Java Problem
■ このスレッドは過去ログ倉庫に格納されています