Java: Cannot instantiate the type List

Trabla: Cannot instantiate the type List<String>




Trabla Code:

import java.util.List;
....

 List<String> usersList         = new List<String>();




Solving:

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

.....

 List<String> usersList         = new ArrayList<String>();




No comments:

Post a Comment