1. 샘플 코드

		List<String> myList = new ArrayList<String>();
		myList.add("j");
		myList.add("a");
		myList.add("v");
		myList.add("a");
		System.out.print("myArray=");
		String[] newArray = new String[myList.size()];
		for ( String s : newArray) {
			System.out.print(s+",");
		}
		myList.toArray(newArray);
		System.out.print("\nmyArray=");
		for ( String s : newArray) {
			System.out.print(s+",");
		}
		List<String> newList = new ArrayList<>(Arrays.asList(newArray));
		System.out.print("\nnewList=");
		for ( String s : newList) {
			System.out.print(s+",");
		}

 

2. 실행 결과

myArray=null,null,null,null,
myArray=j,a,v,a,
newList=j,a,v,a,