I have a Class Aouter, This Aouter class has 2 inner classes namely Binner,Cinner. My doubt is if Binner class had been changed so Cinner class also should be compiled and moved to server?
plz ask me if you have any doubt in my question.
Thank in advance.
If
Cinnerdoes not depend onBinnerin any way, it doesn’t need to be recompiled. Otherwise I think it is better to recompile (although it may not be always necessary, it is still better to be on the safe side). But since in general inner classes are compiled together with their containing class, either all or none of them are recompiled in practice.