- Read tab-separated file student-data.tsv using high-level (byte) stream. (DataOutputStream) - Create a POJO class to store...
Fantastic news! We've Found the answer you've been seeking!
Question:
- Read tab-separated file student-data.tsv using high-level (byte) stream. (DataOutputStream) - Create a POJO class to store the information (name, student id, city) - Print the information on the screen using toString() method. - Count how many students live in each city. (Store the data in a Map) - Print the results. - Who lives in city Boston. (City name is an input parameter to a method).
Name | StudentID | City |
Russell | 2010 | Boston |
Aydar | 2011 | New York |
Nhi | 2012 | Detroit |
Chisom | 2013 | Trenton |
Anna | 2014 | Las Vegas |
Nic | 2015 | Detroit |
Lukas | 2016 | Trenton |
James | 2017 | Las Vegas |
Tom | 2018 | Boston |
Lily | 2019 | Boston |
Related Book For
Modern Database Management
ISBN: 978-0133544619
12th edition
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi
Posted Date: