Added @Override Annotation
used .isEmpty instead of != 0
Removed manual array copying. Performance reasons.
used .append  for String Concatenation. Helps performance.
removed redundant if statement
replaced assignment with operator-assignment