Public

  1. In general, public refers to anything that is out in the open for everyone to see.
  2. In object-oriented programming, a public class is one where any part of the program can access and/or update its members by using the name of the member that is to be accessed. This type of class is useful for information or methods that need to be available in any part of the program code.

Also see: Class, Private, Programming definitions