question: @ Override public String toString ( ) { String str = "" ; for ( BasicEffect e : subeffects ) { str += e . toString ( ) + " ^ " ; } return ( ! subeffects . isEmpty ( ) ) ? str . substring ( 0 , str . length ( ) - 3 ) : "Void" ; }
target:  Returns a string representation for the effect