What are the two important TCP Socket classes?

What are the two important TCP Socket classes?

The two important TCP Socket classes : 

    * Socket 
    * ServerSocket 

Socket class allows us to read and write through the sockets. It provides two methods : getInputStream() and getOutputStream().
ServerSocket is used for normal two-way socket communication. 

By:Jalees
Date:2015-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher