Which classes are used for connection-less socket programming?
A. Datagram socket
B. Datagram packet
C. Both datagram socket & datagram packet
D. Server socket
The client in socket programming must know which information?
A. Ip address of server
B. Port number
C. Both ip address of server & port number
D. Only its own ip address
Which constructor of Datagram Socket class is used to create a datagram socket and binds it with the given Port Number?
A. Datagram socket(int port)
B. Datagram socket(int port, int address address)
C. Datagram socket()
D. Datagram socket(int address)
Which methods are commonly used in Server Socket class?
A. Public output stream get output stream ()
B. Public socket accept ()
C. Public synchronized void close ()
D. Public void connect ()
What is the objective of multiprogramming?
A. Have a process running at all time
B. Have multiple programs waiting in a queue ready to run
C. To increase cpu utilization
D. None of the mentioned