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 / tapan kumar kundu

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 ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is the singleton class used?

982


Can extern variables be initialized?

903


Is Constructor possible in abstract class in java ?

996


Is 0 a real number?

977


What is the difference between the final method and abstract method?

997


Can you call one constructor from another if a class has multiple constructors?

981


What is the access scope of a protected method?

964


What is void class in java?

922


what is a green thread? : Java thread

960


How do you remove duplicates in java?

964


How does sublist works in java?

908


Explain about collection interface in java?

939


Can we override the overloaded method?

1065


What’s the difference between applets and standalone program?

986


Can you declare the main method as final?

966