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

Using toArray() method for example

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

Object[] obj=arr_obj.toArray();

for further Detail go to my website :
http://www.beexpert.co.in/

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where and how can you use a private constructor?

1040


how to create daemon thread in java?

1117


What method is used to specify a container's layout in java programming?

1205


Can you extend main method in java?

1254


What is linked hashmap and its features?

1071


What is proper subset?

1020


Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

1032


What does math floor () do?

1008


How do you sort arraylist in descending order?

1075


How to sort a collection of custom Objects in Java?

1108


What do you mean by static variable?

1116


What is java argument list?

980


What do bitwise operators do?

1051


What is static keyword in java?

1055


How does linkedhashmap work in java?

1080