Added the second print statement in ClassB.