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 / zzzz

Unresolved compilation error will come.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of arraylist in java?

1162


Is stringwriter thread safe?

1055


Does java arraylist maintain insertion order?

1053


How do you create immutable object in java?

1107


What is the r character?

1080


Explain the difference between jdk, jre, and jvm?

1083


What is meant by 'bit masking' in java?

1262


What is the purpose of checked and unchecked exceptions in JAVA?

1076


Difference between vector and arraylist.

1189


What are the Static and Dynamic Variables? Differentiate them.

1163


Can we create constructor in abstract class ?

1118


Is 9 a prime number?

936


What is the best way to findout the time/memory consuming process?

1083


How will you compute size of a structure?

1275


Is 0 a real number?

1105