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

Is main is a keyword?

945


Which methods cannot be overridden in java?

922


Do I need java for windows 10?

976


What is internal iteration in java se 8?

1129


What is the java idl system?

988


What is a generic code?

977


What is string in java?

960


Why do we use variables?

926


What are the types of literals?

1085


Explain what access modifiers can be used for methods?

1029


What are the benefits of immutable objects?

947


What are the application of stack?

857


What does system.gc() and runtime.gc() methods do?

990


What is the different between get and post?

904


What are exceptions

1035