2075 12

Advanced Java Programming20755 marks

What is a socket? Write client and server programs in which a server program accepts a radius of a circle from the client program. Computes area, sends the computed area to the client program, and displays it by client program.

What is a socket? Write client and server programs in which a server program accepts a radius of a circle from the client program. Computes area, sends the computed area to the client program, and displays it by client program. [5]

A socket is an endpoint for communication between two machines over a network. It provides a mechanism for two programs (client and server) to communicate with each other using standard input/output streams. In Java, the Socket class (client side) and ServerSocket class (server side) from the jav...

Up nextWrite short notes on: a. Grid Layout b. Ragged Array [2.5+2.5]