Systen. out.println ("encrypted zessage: ) : Systez.out.prineln(encryptediessage): j - encrypes a message using the caesar capher with the specicied rocation key. - punctuacion and spaces aze left unchanged. x publue scatic String encrypt(string message, int key)f Stringbuilder encrypted new ScringBuilder (): for (char c: zessage. tochardrray t) ) if (Character. istetter (c)) 1 chat base = Chatacter. 1sUpperCase (c)? ' A'l i ia': int oftset =( ant ) e-base: int shitced =( offset + key ) tat: char encoded (char) (base + shifted): encrypted. append (encoded); l. elset. encrypted, append (c); 1 return enerypted, costring ( ) error found: 17e: CsworalsiataloneDrivelDocumental DosmioadalCaeaarCipher,java Line 16. rror: The type java, lang, Charsequence cannot be resolved. It is indirectly feferenced from required . class.