AR Systems(GA) interview question

Why char array is preferred to store password than String in Java?