A class consists of 10 male and 30 female students. If one student is randomly selected from the class, what is the probability of selecting a male student? ​