Hello!
//Inner class is a static class, i.e. top-level class
//then can you access to private member of the inner class
public class COuter
{
String str = "Hello";
public void myMethod()
{
System.out.println(str + " " + CInner.strInner + "!");
}
static class CInner
{
private static String strInner = "Sahir Shah";
}
public static void main(String args[])
{
COuter outer = new COuter();
outer.myMethod();
}
}
//regards
//Matthias