Вот код.
public class Test {
class InnerClass{
}
public static void main(String[] args){
InnerClass ic = new InnerClass();
}
}
В нем указано сообщение об ошибке
non-static variable this cannot be referenced from a static context
after creation of object ic.
Кто-нибудь может указать мне причину?
Спасибо