Inheritance

I have two classes bank1 and bank2.
bank2 extends bank.
Bank2 have one Overriding method. bank1 have many methods and i need that when user pressed button one method from bank1 classes overrides form bank2.
Any ideas how to do this? :)

I have two classes bank1 and bank2.
bank2 extends bank.
Bank2 have one Overriding method. bank1 have many methods and i need that when user pressed button one method from bank1 classes overrides form bank2.
Any ideas how to do this? :)

Sorry, but your post is confusing me. If you don't get any decent responses, you may benefit by greatly clarifying what's going on. Also, please be very careful with spelling and capitalization as this matters in Java.

I have two classes bank1 and bank2.
bank2 extends bank.
Bank2 have one Overriding method. bank1 have many methods and i need that when user pressed button one method from bank1 classes overrides form bank2.
Any ideas how to do this? :)