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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 35 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply