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
What is thread count in java?
What are selection structures?
What is the difference between the boolean & operator and the && operator in java programming?
What does mean in regex?
How do you compare characters in java?
What is an inner class in java?
Which package is used for pattern matching with regular expressions?
What is a protected method?
Write a code to show a static variable?
What is array initialization in java?
Can we assign the reference to this variable?
What are the special characters?
Define an abstract class with reference to java.
What is the finalize method do?
Why is stringbuffer not immutable?