VentureDive interview question

How is using character array safer than using String in Java?