June 2012
Intermediate to advanced
288 pages
6h 48m
English
public Keyword
Using a public keyword declares public visibility for a class, variable, or method. Any other class in the program can access items with public visibility.
Here’s an example that declares a public class variable (also called a field):
public int Diameter;
Read now
Unlock full access