Author | Message |
---|---|
jzeped47
Posts: 3
|
Posted 21:05 Oct 05, 2019 |
For the multiple question class, I am having trouble understanding what exactly the constructor needs to do. If anyone can elaborate a little more and offer a bit of guidance that would be greatly appreciated. Thanks |
kknaur
Posts: 540
|
Posted 16:07 Oct 06, 2019 |
The constructor takes a question and initializes only the question datafield in the parent. After that, you need to use a separate method in the class to add each possible answer choice to the MCQuestion. |
jzeped47
Posts: 3
|
Posted 18:36 Oct 06, 2019 |
One last thing, I am uncertain of how exactly the questions can be created in the main class if the main class itself is not a part of the quiz package. Will we need to import the package in order for it to function? |