Overriding - same method names with same arguments and same return types associated in a class and its subclass.
Example:
class CSuper
{
null print ( string _name)
{
print "Hello" + _name;
}
};
class CDerived
{
null print ( string _name)
{
print "Hello" + _name + "from Derived";
}
};
Overloading - same method name with different arguments, may or may not be same return type written in the same class itself.
Example:
class CClass
{
string print( int i);
string print(int i, char c);
};
there is a difference between these two and also when you write programs you will get to know their use too.
Read more:
http://wiki.answers.com/Q/Difference_between_overriding_and_overloading#ixzz1UeNV7W7y