Could you give me a concrete example where a nested java class is useful? I am studying it, I understand how it works but I can not imagine a real situation where its use is rea
It's used (also) to implement the Builder Pattern
First of all you need to create a static nested class and then copy all the arguments from the outer class to the Builder class