Saved Bookmarks
| 1. |
A template class defines the form of a class _____________________ it will operate.(a) With full specification of the data on which(b) With full specification of the functions on which(c) Without full specification of the data on which(d) Without full specification of the functions on which |
|
Answer» Right answer is (c) Without full specification of the data on which The best I can explain: The template classes can accept all types of data types. There is no need to specify the data on which the class has to operate. Hence it gives us flexibility to code without worrying about the type of data that might be used in the code. |
|