1. |
Which class creates a TCP server socket, bound to the specified port?
|
||||||||
Answer:
Option (c) |
2. |
Which class implements a connectionless packet delivery service.
|
||||||||
Answer:
Option (d) |
3. |
Which method of URL class returns the object of URLConnection class?
|
||||||||
Answer:
Option (b) |
4. |
A Socket Consists Of?
|
||||||||
Answer:
Option (a) |
5. |
Which method is establish a connection between server and client?
|
||||||||
Answer:
Option (a) |
6. |
Which constructor of DatagramSocket is used to creates a datagram socket and binds it with the a Port Number?
|
||||||||
Answer:
Option (b) |
7. |
Which classes are used for connection-less socket programming?
|
||||||||
Answer:
Option (c) |
8. |
How do you implement reliable transmission in UDP protocol?
|
||||||||
Answer:
Option (a) |
9. |
Which Protocol is generally used for multicast? TCP or UDP?
|
||||||||
Answer:
Option (b) |
10. |
How to get list of IP address that are assigned to a network interface?
|
||||||||
Answer:
Option (c) |