Call private method
package groups related classes. Access — private < default < protected < public.
private = class only; public = everywhere.
protected = package + subclasses.
Write one tiny example for Call private method. Compile, print one result, and say the output out loud before you type.
Use Call private method only when the problem needs it. Don’t force it into every program. Know one beginner trap.
Let's take this on the board with one tiny Main class — no extra files. Call private method — secret is private; outside code uses a getter. Start from main, go line by line, and stop at each print. That output is the proof for Call private method.
Draw the 4 access levels and who can see each.