What is the difference between typename and class


Problem:

Question- What is the difference between typename and class if there is one?:

template class singleList{
.......}

template class singleList{
........}

And I saw a related example use object insead of comparable, is there a diffence or are they just the name of this template variable type?what is the difference between typename and class if there is one?:

template class singleList{
.......}

template class singleList{
........}

And I saw a related example use object insead of comparable, is there a diffence or are they just the name of this template variable type?

Could someone help to explain the answer of question.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: What is the difference between typename and class
Reference No:- TGS0893018

Expected delivery within 24 Hours