RIA Advisory interview question

A obj= newB(); then in overriding which class function will be called when we write obj.func()