adspace
Answer Posted / Atul Kumar Singh
"We need generics to write reusable, flexible, and efficient code. Generics allow us to create a single implementation of a class or method that can work with multiple data types without having to duplicate the code for each data type. This helps reduce redundancy and makes our code easier to maintain and extend."
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers