Answer Posted / ramesh
ArrayList arr_obj=new ArrayList()
arr_obj.add("viki");
arr_obj.add("siva");
Object[] obj=arr_obj.toArray();
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the differences between checked exception and unchecked exception?
Why do we need array in java?
When throw keyword is used?
What is collection sort in java?
how we can create packages in java?
What is variable declaration and definition?
What are the basic concepts of OOPS in java?
What is the final keyword denotes?
What is import java util arraylist?
Why set do not allow duplicates in java?
What is an abstract method in java programming?
Describe different states of a thread.
Does sprintf allocate memory?
Difference between linkedlist and arraylist.
What is numel matlab?