answersLogoWhite

0


Best Answer
Copy

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.

User Avatar

Wiki User

โˆ™ 2012-03-05 06:33:22
This answer is:
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0
User Avatar

Add your answer:

Earn +5 pts
Q: What are the differences between public and private policy?
Write your answer...
Submit

Related Questions

The differences between a public unviesity and a private?

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


What are differences between public enterprise and private enterprise?

check your answer


What are the differences in education between private and public HBCU's?

ghkcghjfndghjdh


What are the Differences between public nuisance and private nuisance?

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


Differences between public international law and private international law?

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.


What are the differences between a public and private company?

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


Differences between public sector accounting and private sector accounting?

The difference between public sector and private sector is that when you're in the public sector you work for the government whereas private sector is not. Same applies to accounting.


What are differences between public company and private company?

PUBLIC COMPANY: It is handed over by the goverments. PRIVATE COMPANY: It can be by their own and came up.


Differences and similarities between public and private sector?

the most important difference between public and private sectors is that private sector mostly makes profits and public sector wastes citizens' taxes without no control. however, there is no similarity between them.


Difference between Public policy and Private Policy?

Public policy is the decision made by government to tackle matters and issues affecting all and sun dry , this decision or rather these decisions has intend or unintended effects. While private policy are decisions made by and for private individuals.


What are the main differences between the public and private network settings?

private if i dont want everyone seeing my profile


What is the differences between public wants and private wants in business?

The main difference between public wants and private wants in business is the key words private and public. Private is personal clientele and their personal needs such as jets, hotels, and restaurants. Public wants are governments costs, marketing, and such.


What are the differences between public and private sectors?

Public sectors are owned and/or serviced by the government. Private sector businesses are owned by individuals and do not pay a direct dividend to the government.


What rare the main differences between public and private sector?

I take it you mean what are instead of what rare. The private sector is owned by the people. The public sector is owned by the government.


What are the differences between school policy and public policy?

well the difference is that we need all kinds of students not just specific ones


Difference in Private Sector and public sector?

what are differences in work culture in private and public sectors


What are the 20 differences between private sector and public sector?

The difference between public and private sector is how they can invest their surplus cash private you will have to ask the shareholders public there are laws and regulations which you have to comply to private you may invest in high risk as well as low risk public is generally low risk - laws will guide accordingly


What is the differences between memorandum of association and the articles of association?

short note private company & public company


Differences Between Public and Private Networks?

Public network is where the networked computers are not all trusted. Private network is where all computers are trusted. EG. Public network: cyber cafe. EG Private network: Your work or home network.


What are the differences in public limited and private limited company?

What are the similarities between a public limited liability company and a private limited liability company.


What are the differences between private offering and public offering?

In Public issue, the issue is not made to select group of people and it is open for public wheras in Private placement an issue is made to particular group of individuals. it this allotment exceeds 50 then the private issue will become public issue


One of the important differences between public bureaucracies and private corporations is that government bureaucracies?

Are not organized to make a profit


What are the different between public and private administration?

Difference between public and private administration


Similarities between public and private procurement?

what are the similarities between private and public procurement


What are the differences between public and national libraries?

What are the differences between public library & national library