Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Map map = new HashMap(2);
map.add(“1”,”one”);
map.add(“2”,”two”);
map.add(“3”,”three”); What will happen at this line?

Answer Posted / mallu

No error will be generaterd.

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why null value is used in string?

1050


What is string intern in java?

1025


How do you do descending order in java?

970


How do you check if a string is lexicographically in java?

959


Does java support multiple inheritances?

1022


Can a class declared as private be accessed outside it’s package?

1013


Why is serialization required?

959


What is the difference between overriding & overloading?

1072


What is the difference between access specifiers and access modifiers in java?

1176


What is ordered map in java?

1008


In how many ways we can create threads in java?

1219


What defines function?

979


What is a get method?

1055


What is collection class in java? List down its methods and interfaces.

968


What does @param args mean in java?

1058