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 gc()?
What is the full meaning of java?
What is time complexity algorithm?
What is qualitative variable?
How do you define a parameter?
What is the escape character in java?
Why do we need wrapper classes?
What is an enumeration?
Write a method that will remove given character from the string?
What is the purpose of the system class in java programming?
Which class is the superclass for every class in java programming?
What exceptions occur during serialization?
What is the default value of byte datatype in java?
Why does java have different data types for integers and floating-point values?
how is final different from finally and finalize in java?