please help
i have to Write a Java program that enters a 10 digits string as a typical STD
telephone number extract the first 3 digits as area code, the 3 digit exchange and the remaining 4 digit numbers as separate strings and print them.