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
How many types of string data types are there?
Is empty .java file name a valid source file name?
What sorting algorithm does javascript use?
How does the java compiler work?
What are Normalization Rules? Define Normalization?
What are different types of encoding?
Which collection is thread safe in java?
What is a singleton class in Java?
How does multithreading take place on a computer with a single cpu in java programming?
Tell us something about set interface.
Explain the importance of throwable class and its methods?
How do you add an element to a set in java?
Write a program to print count of empty strings in java 8?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
What is a java applet? What is an interface?