You can create a class-level variable by declaring your variable outside of any methods, at the top of your class definition.