Problem:
Question 1: Write a template class to swap two integer, two double and two string.
Question 2: Write a template class to do the bubble sorting.
Question 3: Write a template class for creating a stack.
Provide a brief explanation for your answer.