Public
An access level that lets any code use the member.
What is Public?
public is an access level that lets any code use a member. Public methods are the "buttons" an object offers to the outside world.
public class Oven
{
public void Preheat(int degrees) { /* anyone can call this */ }
}
Level: Apprentice · More OOP terms at this level
Updated