Deloitte Interview Question

1.Duplicates char java program ?