![](https://gotit-pro.com/wp-content/uploads/2023/10/32cbfdf3-0342-4b54-8391-9088f1abe51c.png)
This lab is an exercise of using Java’s and C++’s dynamic binding features. The uncompleted programs to run in Java and in C++ are given below. Note that you need to create a driver class with the main method to run the Java program. Also, you need to write the main function to run the C++ program. Perform the following activities:predict the output of the Java program.run the Java program and compare your prediction to the actual output of the program. Complete the C++ program such that it prin