Fix Print abstract method to have consistent parameters

The abstract method was declared without the prefix parameter and later is overridden with a prefix parameter. Soln: add prefix parameter to abstract declaration