Help Us Improve. Please let us know if you were asked any question in your interview.

More Questions

Java / J2EE - Interview Questions and Answers on Socket

Q1.  What are some Java related technologies used for distributed computing ?

Ans. sockets, RMI. EJB

Q2.  What are the advantages and Disadvantages of Sockets ?

Ans. Sockets are flexible and sufficient. Efficient socket based programming can be easily implemented for general communications. It cause low network traffic.

Socket based communications allows only to send packets of raw data between applications. Both the client-side and server-side have to provide mechanisms to make the data useful in any way.

Q3. Which is the Parent Class of Socket class?

Ans.Object

Q4. What is the package name for Socket class?

Ans.java.net

Q5. Which are the subclasses for Socket?

Ans.[, SSLSocket]

Q6. Which interfaces are implemented by Socket?

Ans.[, Closeable, AutoCloseable]


Stay updated with Java posts in your email.

Enter your email address:


Delivered by FeedBurner
Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner
comments powered by Disqus




×

Would like to try our new Java Interview Questions Search Tool.

There are more than 1000 questions with practice tests. It's updated daily and It's Awesome.


×

Would like to try our new Java Practice Test tool.

There are more than 100 questions currently and expanding quickly. It's updated daily and It's Awesome.