Answers for "how to make quiz with arraylist in java with input character"

1

add value with n variable with Arraylist in java

Scanner in = new Scanner(System.in);
int n = 5;
ArrayList<String> addName = new ArrayList<>();
for(int i = 0; i < n; i++){
  addName.add(in.nextLine());
}
Posted by: Guest on December-19-2020

Code answers related to "how to make quiz with arraylist in java with input character"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language