Choose the correct one.
In a right-angled triangle ABC, if angle B = 90°, then which of the following is true?
(a) AB2 = BC2 + AC2
(b) AC2 = AB2 + BC2
(c) AB = BC + AC
(d) AC = AB + BC
Correct answer is