Which mapping diagram represents a function from x → y ?

A. 0478, 4789
B. 0126, 1278
C. 0236, 0457
D. 1469, 0248

B. 0126, 1278