C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

What is Generics in java?

0 votes
491 views
asked by augustaina Sr Member (4,820 points)

1 Answer

0 votes
Generics  is a concepts introduced in the java 1.5 version. Generics is called as parameterized types.

Generics are design to provide type safely, which will reduce the need for type_casting.

Generics are set to be type erasures, which mean the generics information will be available up to compilation once compile it does not contain generic information it will be erasure.
answered by rock Expert (14,990 points)

Related questions

0 votes
1 answer 1,448 views
1,448 views asked by sunny Expert (11,410 points)
0 votes
1 answer 70 views
+1 vote
1 answer 173 views
173 views asked by augustaina Sr Member (4,820 points)
0 votes
1 answer 159 views
0 votes
1 answer 96 views
96 views asked by sunny Expert (11,410 points)
...