Write a java program which reads a string from the user and divides the string into different classes such as Strings, Numbers and AlphanumericStrings