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 about abstract classes in java?
Write a program to check for a prime number in java?
Write a function to find out longest palindrome in a given string?
What is finalize()? Is finalize() similar to a destructor?
String class is defined under which package in java?
What are some examples of variable costs?
What is reverse function?
What is wrapper class html?
What do you understand by abstract classes?
What is a jagged array in java?
what do you understand by synchronization? : Java thread
Why we use protected in java?
When object is created and destroyed?
Is cout buffered?
How do you break a loop?