Consider the Lee language of character strings, consisting of a quote followed by a set of characters, and ending with a quote, its length not exceeding 10 characters.
Write a JAVA program that recognizes character strings using the automaton method.