Question: // Abstract class // The Astract class should not be modified. protected: #include stdafx.h #include #include using namespace std; using namespace std; class List {

// Abstract class

// The Astract class should not be modified.

protected: #include "stdafx.h"

#include

#include

using namespace std;

using namespace std;

class List {

public:

virtual void replace(int, int); // the forst int is the location to replace and the second int is the value to be added

virtual void printList();

virtual int getItemAt(int) = 0; // gets the item at a particular location

virtual int getFirst() = 0;

int myList[5];

int size;

};

class myList :public List {

// provide the content of this derived class to implement the abstract class

};

int main() {

// provide the content here to call the functions that perform the various List operations

system("pause");

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!