school/cs235/lab03/sm/Factory.cpp

22 lines
539 B
C++
Raw Normal View History

2016-04-06 20:46:10 -07:00
#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
}