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

How do you calculate roots in java?

1088


What is hashmap and map?

1030


What is sortedset in java?

1025


Can singleton class be inherited in java?

1000


Is java a digit method?

997


What is the difference between method overriding and overloading?

1231


What are the advantages of defining packages in java?

986


What is the use of math abs in java?

1010


Write a program to find the whether a number is an Armstrong number or not?

1032


How do you do exponents in java?

1057


Explain different ways of creating a thread?

1052


How would you convert bytes to string?

987


Explain list interface?

960


Can one thread block the other thread?

1030


What are the drawbacks of singleton class?

1008