A batch of 500 containers for frozen orange juice contains 5 that are defective. Two are selected, at random, without replacement, from the batch. Let A and B denote the events that the first and second container selected is defective, respectively.
(a) Are A and B independent events?
(b) If the sampling were done with replacement, would A and B be independent?