Computer Science, asked by kanhubarik201820, 7 months ago

which is known as a generic class

Answers

Answered by tanvigupta426
0

Question:

Which is known as a generic class?

a. Abstract class

b. Final class

c. Template class

d. Efficient Code

Answer:

A template class is known as a generic class.

The correct answer is option c. Template class.

Explanation:

A template class is known as a generic class. Template classes are comprehended to be generic classes because they can be utilized for any data type value and the exact class can be utilized for all the variables of various data types. Generic classes encapsulate processes that are not specific to a certain data type. The most familiar use for generic classes exists with groupings like linked lists, hash tables, stacks, queues, trees, and so on.

Therefore, the correct answer is option c. Template class.

#SPJ3

Similar questions