It is preferred to use interface methods over direct field access as it makes the code more generic and robust.