Object Oriented Programming - Old Questions

10. When class templates are useful? How can you define a class that can implement stack with integer as well as sack of strings? Illustrate with example.

5 marks | Asked in 2078