If ClassA extends ClassB, then:a. public and private members of ClassB are public and private, respectively, in ClassAb. public members in ClassB are public in ClassA, but private members in ClassB cannot be directly accessed in ClassAc. neither public or private members in ClassB can be directly accessed in ClassAd. private members in ClassB are changed to protected members in ClassA