Which is the Best Java Web Framework ?

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]


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




×

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.


×

Try our new Java Practice Test tool.

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