22 lines
539 B
C++
22 lines
539 B
C++
#include "Factory.h"
|
|
#include "ll.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 ll();//Modify this line
|
|
}
|