Have a look at this example:
class Parent{ Child child = new Child(); Random r = new Random(); } class Child{ public Child(){ //access a me
Have the Parent class pass its own instance of Random to the Child class.
Parent
Random
Child
class Parent{ Child child; Random r = new Random(); public Parent() { child = new Child(r); } } class Child{ public Child(Random r){ } }
Classic Occam's razor.