Question 395179
Yes, both of them will produce a random sample.  The first method is called simple random sampling, while the second is called systematic sampling.