question: public void print ( String text ) { String [ ] lines = text . split ( "\n" ) ; for ( String line : lines ) { view . print ( line . isEmpty ( ) ? " " : line ) ; } performPostOutputActions ( ) ; }
target:  Print text on console.