Programming - Sockets

You Are Here :: Home > JAVA > Sockets - General Questions

 
1.

_______________ programming is most widely used concept in networking.                        


A. network B. object
C. socket D. net




2.

_________________ provides the communication mechanism between the computers using TCP                        


A. network B. object
C. socket D. net




3.

The _________________ class represents a socket.                        


A. java.net.Socket B. java.net.ServerSocket
C. java.lang D. java.sql




4.

The __________________________ class provides a mechanism for the server program to client for clients and establish connections with them.                        


A. java.net.Socket B. java.net.ServerSocket
C. java.lang D. java.sql




5.

The server instantiates a ________________ object,denoting which port number communciation is to occurs on.                        


A. Serversocket B. serversocket
C. ServerSocket D. SocketServer




6.

The server invokes the _________________________ method of the ServerSocket class.                        


A. destroy() B. stop()
C. init() D. accept()




1

2

3

4

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on