Deloitte interview question

1.Duplicates char java program ?