Instructions For Execution

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 1

If you are not using any IDE, then follow below instruction.
1. System Requirement: JDK 1.8 should be installed in the system.
2. Java home path should be set in the environment variable.
3. Execute below commands in the CMD opened with path to homework files.
javac StringReverseServer.java
4. It should execute without error. Execute below line as shown in the screen:
java StringReverseServer
5. Now open new cmd with same path follow same steps above for executing StringReverseClient.java
You should get below screens:
6. Now enter the input as ADVANCE, the reverse string should be printed on the screen.
7. For executing multiple clients execute the StringReverseClient.java multiple times in different cmd.
If you have eclipse or intellij then directly place the files in single package and run the server file first followed by client
file.

Navigation menu