If I am using nested classes, how to access the inner class methods and variables. For example
class A { int x,y; class B { int x,y; public f() {} } }
How to access the inner class instance variables. What if I define inner class as static? Can anybody explain where exactly we go for nesting of classes and about the access details of inner and outer classes variables and methods?