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 are register variables what are the advantages?
Explain the difference between hashmap and hashtable in java?
Which class is the superclass for every class in java programming?
What is the difference between the boolean & operator and the && operator in java programming?
What is the indent key?
what is the significance of listiterator in java?
Explain the transient field modifier?
How do you add spaces in java?
What is the use of using enum to declare a constant?
if u open login & logout ,how can udisplay the timelogin & logout members ?
What is static import?
What do you know about the garbage collector in java?
What do you understand by an io stream?
What is ascii code?
What are the drawbacks of reflection?