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
465 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,432 views
1,432 views asked Mar 27, 2014 by sunny Expert (11,410 points)
0 votes
1 answer 67 views
67 views asked Jan 29, 2014 by keem Expert (13,240 points)
+1 vote
1 answer 168 views
168 views asked May 14, 2014 by augustaina Sr Member (4,820 points)
0 votes
1 answer 158 views
0 votes
1 answer 91 views
91 views asked May 10, 2014 by sunny Expert (11,410 points)
...