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
Why scanner is used in java?
What is a literal coding?
What is main function purpose?
What are the rules for naming an array?
What are the wrapped, classes?
Explain the difference between intermediate and terminal operations in java8?
What is finally and finalize in java?
Which is a valid identifier?
what is method reference in java 8?
Is 9 a prime number?
Can constructor be static or final?
What is mysql driver class name?
What is a protected void?
Why are generics used?
What is java used for on a computer?