A whole rest gets four beats in 4/4 time. It represents a complete measure of silence, regardless of the time signature. For example, in 4/4 time, a whole rest fills the entire measure with silence, lasting for four beats.
In other time signatures, the whole rest still represents a full measure of silence. For instance, in 3/4 time, a whole rest would last for three beats, filling the entire measure with silence.
It’s important to note that the whole rest is unique because it can represent a full measure of silence in any time signature, making it a versatile notation in music.