IBM Interview Question

Write Java program to take a sentence as input and display the same sentence removing the vowels in it.

Interview Answer

Anonymous

Jan 29, 2017

Use this method: replaceAll("aeiouAEIOU","");