What is the definition of the public method setRootData?

What will be an ideal response?

```
template
void BinaryNodeTree::setRootData(const ItemType& newItem)
{
if (isEmpty())
rootPtr = std::make_shared>(newItem, nullptr,
nullptr);
else
rootPtr->setItem(newItem);
} // end setRootData

```

Computer Science & Information Technology

You might also like to view...

________ is when your computer transfers files from the hard disk to RAM and back

A) Reading B) Swapping C) Paging D) Progressing

Computer Science & Information Technology

In Windows 10, ________ mode is used when every action is expected to be touch

Fill in the blank(s) with correct word

Computer Science & Information Technology