answersLogoWhite

0


Best Answer

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:
User Avatar
Study guides

Which term means consent of the governed

A developmental dictatorship best describes the soviet union

What are the major air masses that influence the weather in the Unites states

A treaty must be approved by who

โžก๏ธ
See all cards
4.5
โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…โ˜†โ˜…
6 Reviews

Add your answer:

Earn +20 pts
Q: What are the differences between public and private policy?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are differences between public enterprise and private enterprise?

check your answer


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 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 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 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 the main differences between the public and private network settings?

private if i dont want everyone seeing my profile


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.


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.


Differences between public and private goods?

Public goods are non-excludable and non-rival in consumption whereas Private goods are excludable and rival in consumption.


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.


Difference in Private Sector and public sector?

what are differences in work culture in private and public sectors

People also asked