public class First {
public class Contents{
public void f(){
System.out.println("In Class First's inner Class Contents method f()");
}
public void getStr(){
System.out.println("First.str="+str);
}
}
public static void main(String [] args){
First first = new First();
First.Contents contents = first.new Contents();
contents.f();
}
}