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

Do loops java?

1070


Explain different states of a thread in java?

1121


How many characters is 16 bytes?

1048


How does split work in java?

1103


What are the advantages of java?

1036


How to do a true java ping from windows?

1240


Can a main method be overloaded?

1072


What is the function of character?

1110


What are the types of inner classes (non-static nested class) used in java?

1113


Difference between Linked list and Queue?

1083


Explain an intermediate language?

1024


What is the purpose of a default constructor?

1162


What is the primitive type byte?

1043


Which class is the superclass for all the classes?

1064


Can we clone singleton object?

1127