Question: java programming language. please help solve Write a static method vowels that takes a string as imput, and that returns a new string consisting only
Write a static method vowels that takes a string as imput, and that returns a new string consisting only of the vowels (a,e,i,0, and u(noty)) from the input string, in the same order. For example, Lab4P2. vovels ("computer") should return "oue", and Lab4P2.vowels("abracadabra") should return "aaaaa
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
