Demonstrates operator overloading in C++ through the creation of a class for rational numbers.