Java examples for java.lang:char
is Vowel Character
//package com.java2s; public class Main { public static boolean isVowel(char c) { if (c == 'e') { return true; } else if (c == 'i') { return true; } else if (c == 'a') { return true; } else if (c == 'u') { return true; } else if (c == 'o') { return true; } else if (c == '?') { return true; } else if (c == '?') { return true; } else if (c == '?') { return true; }/* w ww. j a va2 s . c om*/ return false; } }