22 lines
576 B
C++
22 lines
576 B
C++
|
#include "Factory.h"
|
||
|
#include "linkedlist.h"
|
||
|
|
||
|
//You may add #include statements here
|
||
|
|
||
|
/*
|
||
|
You will MODIFY THIS DOCUMENT.
|
||
|
*/
|
||
|
//=======================================================================================
|
||
|
/*
|
||
|
getLinkedList()
|
||
|
|
||
|
Creates and returns an object whose class extends LinkedListInterface.
|
||
|
This should be an object of a class you have created.
|
||
|
|
||
|
Example: If you made a class called "LinkedList", you might say, "return new LinkedList();".
|
||
|
*/
|
||
|
LinkedListInterface * Factory::getLinkedList()
|
||
|
{
|
||
|
return new linkedlist();//Modify this line
|
||
|
}
|