I have the classes created, I'm trying to
FilePostProcessFactory PostProcessFactory = new FilePostProcessFactory();
FilePostProcess filePostProcess = PostProcessFactory.getFilePostProcessName(fileName);
filePostProcess.getFileConfig(fileId, postProcessInstructions);
This method: getFileConfig
is giving me an error: is not public in packageName'. Cannot be accessed from outside package
I was reading this: https://www.javatpoint.com/factory-method-design-pattern
and they have implemented there that the abstract void getRate();
can be accessed from another class outside of the package.
What am I missing?
Thank you