Why are generics used in Java Programming

preview_player
Показать описание
Why are generics used in Java Programming
Ans) Compile-time type safety is provided by using generics. This allows users to catch unnecessary invalid types at compile time. Generic methods and classes help programmers to specify, a single method declaration, a set of related methods or, with a single class declaration, a set of related types.

***********social media handles***************
contact:91 -7530088009
***************************************************
office address:43/6 Sathy Road, 4 th floor, Ramakrishnapuram, Tulasi Damu Arcade
Coimbatore, Tamil Nadu 641006
********************************************
Sparkdatabox is one of the best software training institute in coimbatore. They offer Oracle Database, Java, Apache Tomcat, SQL ,phython,digitalmarketing,dotnet and other courses
hashtag
#sparkdatabox #softwaretrainginstitudeincoimbatore #ITJOBS #ITplacements #traininginstitude #softwaretrainingintamil #placements
Рекомендации по теме