problem 1: Fill up the blanks:
a) Java gives in built support for network programming via classes defined in the _________ package.
b) A _________ is a software interface which connects applications over the network.
c) ________ is a numeric addressing scheme, while ________is a textual addressing method.
d) __________ is a networking protocol supported by the Java.
e) __________ class is used to transform the domain name of an Internet address into an object that represents that address.
problem 2: State whether the given are true or false.
a) A server can accept multiple clients joined to the similar port.
b) A factory method is the other name for a constructor and is employed to make instances of a class.
c) The DatagramPacket class uses factory methods to make datagram instances.
d) As soon as a socket object is created, it implicitly establishes a connection between the server and client.
problem 3: prepare a program to describe the usage of the getAddress () method and overriding the toString( ) method.
problem 4: prepare down a program to show a datagram client. This reads user input strings and sends them to the echo server (already made); the echo server sends the data right back and the client prints the response to console.
problem 5: prepare down a program to display the local time at the specified web site where the web site's name is typed at command line.