public class test1
{
classA obj = new classA()
}
public class test2 extends test1
{
public void test() {
//unable to access object 'obj'
}
}
From the child class I am unable to access the object that is created in the parent class.