| Share this post! | Vote this! |
|
In this section, you will learn the use wildcards or wildcard character in
Generics.
Take a look at the following code :
Problem :
For better understanding of wildcards, we are taking a scenario :Take a look at the following code :
List<String> strArrayList = new ArrayList<String>(); strArrayList.add(new String("Genrics")); strArrayList.add(new String("Genrics Wildcards")); more...



0 comments:
Post a Comment