On spectral properties of some classes of linear operators