Java Fundamentals by Gazihan Alankus
Author:Gazihan Alankus
Language: eng
Format: epub
Publisher: Packt Publishing
Published: 2019-03-10T16:00:00+00:00
Exercise 26: Writing an Application that Finds a User by Email
In this exercise, you'll write an application that reads the users from a specified CSV file into a hashtable, using their email as a key. They then receive an email address from the command line and search for it in the hashtable, printing its information or a friendly message if this isn't found:
In your UsersLoader.java file, add a new method that will load users into a hashtable using the email as a key. Create a Hashtable at the beginning and return it at the end:public static Hashtable loadUsersInHashtableByEmail(String pathToFile)
throws IOException {
Hashtable users = new Hashtable();
return users;
}
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
| Coding Theory | Localization |
| Logic | Object-Oriented Design |
| Performance Optimization | Quality Control |
| Reengineering | Robohelp |
| Software Development | Software Reuse |
| Structured Design | Testing |
| Tools | UML |
The Mikado Method by Ola Ellnestam Daniel Brolund(20603)
Hello! Python by Anthony Briggs(19898)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(18208)
Dependency Injection in .NET by Mark Seemann(18107)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(17575)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(17421)
Kotlin in Action by Dmitry Jemerov(17183)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(16930)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(16234)
Grails in Action by Glen Smith Peter Ledbrook(15390)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(10392)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(8053)
Microservices with Go by Alexander Shuiskov(7818)
Practical Design Patterns for Java Developers by Miroslav Wengner(7718)
Test Automation Engineering Handbook by Manikandan Sambamurthy(7670)
Angular Projects - Third Edition by Aristeidis Bampakos(7159)
The Art of Crafting User Stories by The Art of Crafting User Stories(6611)
NetSuite for Consultants - Second Edition by Peter Ries(6531)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(6305)