Top 50 Java Programming Interview Questions
public static void main(String[] args) {
// TODO Auto-generated method stub
String ChkVowel;
System.out.println("Enter your word to check Vowel");
Scanner in=new Scanner(System.in);
ChkVowel=in.next();
if(ChkVowel.toLowerCase().matches(".*[aeiou].*"))
{
System.out.println("Vowel is Present");
}
else {
System.out.println("Vowel is NOT Present");
}
}
In questa pagina del sito puoi guardare il video online Write a Java program to check if a vowel is present in a string WITHOUT using any function. della durata di ore minuti seconda in buona qualità , che l'utente ha caricato The Disciplined learner 07 agosto 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 520 volte e gli è piaciuto 18 spettatori. Buona visione!