answersLogoWhite
Ask
Government
The Difference Between

What are the differences between public and private policy?

273274275
Answer

Top Answer
User Avatar
Wiki User
2012-03-05 06:33:22
2012-03-05 06:33:22

in C++/java if you want to perform data hiding(one of the concept of OOP's) you need to use Private. i.e. only functions in that class or object can use that. public can be used any where in the other program which is not a part of that class.

Private classes are defined in order to increase the security, since in many situations there is no need for others to access the private attributes.

1
0

Related Questions

User Avatar

A major difference between a public university and a private university is price.

User Avatar

Well ask yourself what the difference between "public" and "private" is. This isn't rocket science!

User Avatar

There are two varying differences between public international law and private international law. Public international law helps to govern the relationships between states and entities. Private international law addresses the jurisdiction for the case.

User Avatar

public means anyone private means certain people that already knew about the corporation


Copyright © 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.