Page 1 of 1

Hello, I have an abstract Cipher class in a Cipher package, an abstract CipherHandler class and DemoHandler class in ano

Posted: Mon May 02, 2022 11:46 am
by answerhappygod
Hello,
I have an abstract Cipher class in a Cipher package, an abstract
CipherHandler class and DemoHandler class in another package, and
the Demo class in another package.
Without changing anything in the other classes, how can my
ENCRYPT and DECRYPT button in Demo class access the methods in my
CipherHandler class?
If I have to revise a class, how should I do it?
I am using IntelliJ.
CIPHER:
HANDLER 1:
HANDLER 2:
DEMO:
CURRENT ERROR:
Hello I Have An Abstract Cipher Class In A Cipher Package An Abstract Cipherhandler Class And Demohandler Class In Ano 1
Hello I Have An Abstract Cipher Class In A Cipher Package An Abstract Cipherhandler Class And Demohandler Class In Ano 1 (11.38 KiB) Viewed 36 times
Demo.java src\ProjectDemo 2 errors O encryptFile(java.lang. String) has protected access in ProjectHandler.CipherHandler :83 O decryptFile() has protected access in ProjectHandler.CipherHandler :89