In an investigation to find the resistance of a heating element, a student measures the resistance in two different ways.
Method A: Use a digital ohmmeter.
Method B: Use a high-resolution digital voltmeter and a digital ammeter to measure potential difference and current, then calculate resistance.

Explain why Method B allows for a more precise determination of the resistance than Method A.