class A { void doSomething(){ } } class B extends A { void doSomething(){} } A. public B. private C. protected D. Default