StaticMemeberExample In this example, we learn about the use of a static member in a class, we also define a static method to display the value on Console For the static member called count of type int, it is incremented for each method of the Sensor class.