COM 1205 Assignment #1. Due: Thursday, 20 January 1999 Write Histogram.java, which is a file of Java code that goes in the statistics package, defines a public class named Histogram, and defines a public static method public static java.util.HashMap frequencies (String s); that, given a String s, returns a HashMap h such that 1. For every Object x, h.containsKey(x) if and only if there exists a char c such that c occurs within s and x.equals(new Character (c)). 2. For every char c, if c occurs within s then h . get (new Character (c)) . equals (new Integer (n)) where n is the number of times that the char c occurs within s. Every student in the class is required to write his or her own code. To submit a program that is derived in part from code written by someone else, but without proper acknowledgement, will be regarded as plagiarism, which is a serious breach of Northeastern University's Academic Code of Conduct. Every person in the class is responsible for keeping his or her code hidden from other teams. Part of your grade for this assignment is determined by how well you do this. On the other hand, anyone in the class may ask anyone about the Java language and other system issues. Turn in your program before 4 pm on the due date by sending electronic mail to will@ccs.neu.edu with subject assignment #1 and a body that consists of the following, in this order: 1. Your name. 2. Any remarks that you wish to make to the instructor. 3. A line consisting of exactly 50 hyphens. 4. Your code for this assignment. Late assignments may be discounted, and very late assignments may be discarded.