ClassB added.
Added a public method to ClassB and let ClassA call it from its public
method.