Check whether the alphabet is a vowel in java

Check whether the alphabet is a vowel in java
re‮al:ot ref‬utturi.com
import java.util.Scanner;
public class VowelOrNot {
   public static void main(String args[]){
      System.out.println("Enter a character :");
      Scanner sc = new Scanner(System.in);
      char ch = sc.next().charAt(0);
      if(ch == 'a'|| ch == 'e'|| ch == 'i' ||ch == 'o' ||ch == 'u'){
         System.out.println("the character is an vowel");
      }else{
         System.out.println("the character is not an vowel");
      }
   }
}
Created Time:2017-08-30 11:36:21  Author:lautturi