Can a static nested class have access to the enclosing class non-static methods or instance variables?
Question
Can a static nested class have access to the enclosing class non-static methods or instance variables?
Answer
No .
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.