Frage im Vorstellungsgespräch bei Wipro

Q. Write a program in java for Overloading and overriding? And also give one real life example?