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

Can an integer be a string?

1067


Which sorting is used in arrays sort in java?

1080


What are the 4 types of research methods?

922


What is bean? Where it can be used?

1087


List any five features of java?

1031


List some oops concepts in java?

1034


Can an interface have a constructor?

973


Is class is a data type?

1077


Why method overriding is used?

1098


Why is it called boolean?

1005


Explain the use of shift operator in java. Can you give some examples?

977


Can we cast any other type to boolean type with type casting?

959


What are the three types of design patterns?

965


Can we have this () and super () together?

1044


How do I type unicode?

982