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...

How will you convert an ArrayList to Arrays?

Answer Posted / ramesh

ArrayList arr_obj=new ArrayList()
arr_obj.add("viki");
arr_obj.add("siva");

Object[] obj=arr_obj.toArray();

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe different states of a thread.

1043


What is the requirement of thread in java?

1101


What is return null in java?

1019


What does the “static” keyword mean? Can you override private or static method in java?

1162


Is the milky way in a void?

1004


How can the checkbox class be used to create a radio button?

1079


Why do we need wrapper classes?

1117


What is a return in java?

1073


Can we create a class inside a class in java?

1146


What is string made of?

1013


What is string buffer?

990


What are the advantages of packages in java?

1731


What is a superclass?

1405


How is java created?

981


What is sorting in java?

1032