Question
Difference between Private , Public and Protected?
Answer
Private - Not accessible outside object scope.
Public - Accessible from anywhere.
Protected - Accessible from anywhere within same package.
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.