Aa

Text size

?

Map / ArrayList & Data / 12

⌨️ Write

Who passed?

Each line of roster.txt is a name and a score. Finish passing so it returns the names whose score is at least limit, in file order.

  • Scanner
  • next()
  • nextInt()
  • ArrayList<E>
📄 roster.txt — a file the program reads
Mina 92
Joon 78
Alex 85
Sora 64
📄 other-roster.txt — a file the program reads
Evan 70
Yuri 91
Noah 80