Class by default public then how can make private?
In reply to harinathdigital@gmail.com:
Classes are always public. You can make individual members private by using the local or protected keywords.
You can control visibility of classes by putting them in a package, and limit which packages you import. You can also nest class type declarations so that they are only visible to the class they are nested inside of.