Private

  1. In general refers to anything that is secret or hidden from something else. See our privacy definition for additional information about staying private on the Internet.
  2. In object-oriented programming, a private class is one that only allows methods that are a part of the class to access its private members (such as its variables, properties, and methods). This type of class can help keep certain information and code from being accessed or updated (perhaps accidentally) from other parts of the program.

Also see: Class, OOP, Programming definitions, Public