Naaptol Interview Question

write program on methodoverriding and explain.