G
Guest
I know that you can do this, I can't find the answer. I try the following code
((company) base).newCompany("ACME", "vendor");
Of course company is the ancestor and newCompany is a public method. The
compiler tells me that "use of keyword 'base' not valid in this context"
What am I missing?
((company) base).newCompany("ACME", "vendor");
Of course company is the ancestor and newCompany is a public method. The
compiler tells me that "use of keyword 'base' not valid in this context"
What am I missing?