Updated: 09/20/2017 by Computer Hope

private definitionPrivate may refer to any of the following:

1. In general, private refers to anything that is secret or hidden from something else.

2. In object-oriented programming (OOP), a private class is one that only allows methods that are a part of the class to access its private members. These private members may include variables, properties, and methods. A private class can help keep certain information and code from being accessed or updated (perhaps accidentally) by other parts of the program.

Class, OOP, Privacy, Programming terms, Public