Capgemini Interview Question

Remove vowels from the string in java. String is "my name"

Interview Answer

Anonymous

Mar 26, 2024

i tried two different techniques. 1. Used vowel strings inside the collection and filtered my string with "If Statement". but here i took more time to complie. 2. used Regular expression. this is where i got my answer