Problem:
Question 1- What does "web user identity" mean? How can web user identity be exposed on the Internet? How can it be protected? Explain thoroughly.
Question 2- Write a class encapsulating the concept of a file, assuming file has a single attribute: the name of the file. Include a constructor, the accessors, and the methods toString, and equals. Also, code a method returning the extension of the file. For example if the filename is text.java, the method will return java. If the file name does not include a dot, the method should return "unknown extension." Write a client class to test all the methods in the class. Also, write comments on class definition and class members in Javadoc format. There needs to be 3 files: .java and .class files of the class, and .java of the client program.
Show the code, demonstrate it works properly and describe what it is doing.