In java, if you have a class (non static) and then an inner class inside it (also non static), how can you get a reference to the outer class object from the inner class?
public class Fish {
public class Fin {
Fish fish = _____;
}
}
I want to store the Fish object in the variable fish
in the Fin class.
Does anyone know?