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 the class in java?
Can we override private method?
Why is string class considered immutable?
Explain about arraylist?
Why hashset is used in java?
What about member inner classes?
What is the difference between double and float variables in java?
What is the difference between serial and throughput garbage collector?
explain autoboxing in java?
If a class is declared without any access modifiers, where can the class be accessed?
Is map sorted in java?
How do you override a method?
Why stringbuilder is not thread safe in java?
What is the meaning of flag day?
What does null mean in java?