This is two way chat application built in Java. There are two files Client.java and Server.java. These files works as multithreaded programs.
First - Compile and run Server.java Second - compile and run Client.java
You can send messages, also simaltaneously receive messages.That's why they were implemented as multi-threaded programs.