array_-_arraylist_conversion
This is an old revision of the document!
- Write a class
Tester.java
that has a main method that does the following: - - creates a String Array of 5 Strings
- - Creates an ArrayList of 5 Strings,
- - prints both
- Write a static method that takes an
array
of String and returns anArrayList<String>
object with the same contents. - Write a static method that takes an
ArrayList<String>
object and returns anarray
ofString
with the same contents.
array_-_arraylist_conversion.1544464376.txt.gz · Last modified: 2018/12/10 12:52 by frchris