Frage im Vorstellungsgespräch bei Capgemini

In offline coding test interview asked me 3 programs: 1. prime number program 2. Copying one array element to another array element. 3. Making custome exception handling class. In technical round he asked me questions on java (collection, polymorphism) , spring boot (beans, annotations, data jpa), kubernates also.