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
431 views
asked May 14, 2014 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 May 14, 2014 by rock Expert (14,990 points)

Related questions

0 votes
1 answer 1,408 views
1,408 views asked Mar 27, 2014 by sunny Expert (11,410 points)
0 votes
1 answer 65 views
65 views asked Jan 29, 2014 by keem Expert (13,240 points)
+1 vote
1 answer 165 views
165 views asked May 14, 2014 by augustaina Sr Member (4,820 points)
0 votes
1 answer 153 views
0 votes
1 answer 87 views
87 views asked May 10, 2014 by sunny Expert (11,410 points)
...