do "" for ks's Java program of null

null -> ""