This C++ program defines a class called waqar that contains an integer and string variable. It includes two methods, waqar1() that prompts the user to input their roll number and name, and waqar2() that outputs the roll number and name. The main function creates an instance of the waqar class and calls the two methods to get user input and display the roll number and name.