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
What is 32 bit float?
Which are different kinds of source code?
What are the two types of streams offered by java 8?
What is regex java?
What are the differences between abstract class and interface?
Name few java 8 annotations ?
How do you create a bulleted list?
What is the full meaning of java?
Explain about abstract classes in java?
How to check if a list is sorted in java?
Explain what are final variable in java?
What is a nested structure?
What is string builder?
Why we go for collections in java?
Can we assign integer value to char in java?