Answer the following problems.
problem 1) prepare down methods which are used to design the TCP/IP server socket in Java.
problem 2) prepare a program to read two strings S1 and S2 and compare whether the two strings are same or not.
problem 3) What do you mean by typecasting? Why is it needed in programming?
problem 4) What do you mean by a thread in java? How do we start a thread? Describe.
problem 5) Create an applet which receives three numeric values as input from a user and then show the largest of three on the screen.
problem 6) prepare down the two methods by which we may stop threads? Describe with the help of a suitable program.
problem 7) What do you mean by a package? How do we add a class or the interface to a package? Describe in detail.