Infosys Interview Question

What is a class and object in C++. Explain by taking an example.