Wednesday 19 August 2015

How to restrict not to be accessible for any other class by creating it's object?

Answer :
                This can be done by declaring Constructor of the class as Protected.

No comments:

Post a Comment