Programming - Sockets

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

 
7.

On the server side,the _______________ method returns a reference to a new socket on the server that is connected to the client's socket.                        


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




8.

If the ________________ constructor does not throw an exception.                        


A. constructor() B. serverSocket
C. accept() D. destroy()




9.

________________ class represents as InternetProtocol(IP)                        


A. InetAddress B. Inet
C. Socket D. Server




10.

Is TCP/IP sockets is a connection-oriented link (or) not?                        


A. Yes B. No
C. Cant say D. none




11.

How to create a ServerSocket Object?                        


A. Serversocket mystock=new ServerSocket(1234); B. serversocket mystock=new serversocket(1234);
C. Serversocket mystock=new Serversocket(1234); D. ServerSocket mystock=new ServerSocket(1234);




12.

The datagram communication protocol is also known as ________________                        


A. UDP B. TCP
C. IP D. Wifi




« prev

1

2

3

4

next »

 
 



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