Updated: 08/08/2017 by Computer Hope

public definitionPublic may refer to any of the following:

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 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.

Class, Private, Programming terms