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
Where is the singleton class used?
Can extern variables be initialized?
Is Constructor possible in abstract class in java ?
Is 0 a real number?
What is the difference between the final method and abstract method?
Can you call one constructor from another if a class has multiple constructors?
What is the access scope of a protected method?
What is void class in java?
what is a green thread? : Java thread
How do you remove duplicates in java?
How does sublist works in java?
Explain about collection interface in java?
Can we override the overloaded method?
What’s the difference between applets and standalone program?
Can you declare the main method as final?