update some Java style. Added a prototype for WhoIs
prototypes of 'who' and 'whois'