
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