A student is given a bar magnet and two metal blocks. The student first puts the bar magnet beside end W and end X of metal block 1. The student then puts the bar magnet beside end Y and end Z of metal block 2. The diagram indicates which ends of the metal blocks are attracted to or repelled by the bar magnet. Which of the metal blocks are bar magnets?
- Aboth metal block 1 and metal block 2
- Bmetal block 1 only
- Cmetal block 2 only
- Dneither metal block 1 nor metal block 2