class Stage
{
Actor act1 = new Actor();
Actor act2 = new Actor();
Actor act3 = new Actor();
}
Stage stg = new Stage();
how will garbage collection behave in java this scenario?
stg = null;
will the three objects created act1,act2 and act3 also get garbage collected?