title: write a java program that include a function called getVowel() that takes a linked list
body: <p>Using java.util.LinkedList,  write a java program that include a function called getVowel() that takes a linked list of a type String and returns only the data values that include a vowel letter as the first letter.  </p>
  
  <p>Explanation : If the initial data values in the linkkedList are   [Algorithms, Data, Computer, Information]  The Returned values of getVowel() must be only [Algorithms, Information] because they are the only data values that start with a vowel letter such as A in Algorithms and I in Information.</p>
  
  <p><em>the function getVowel() does not exist</em></p>
  
  <pre><code>import java.util.*;
  public class g {
      public static void main(String[] argv) throws Exception 
      { 
          try { 
  
              // creating object of LinkedList&lt;String&gt; 
              LinkedList&lt;String&gt; list = new LinkedList&lt;String&gt;(); 
  
              // add some elements to list 
              list.add("Algorithms"); 
              list.add("Information"); 
  
              // print the linked list 
              System.out.println("LinkedList : " + list); 
  
  
              String value = list.getVowel();
  
              // print the vowel of list 
              System.out.println("the vowel of list : " + value); 
          } 
  
          catch (NullPointerException e) { 
  
              System.out.println("Exception thrown : " + e); 
          } 
      } 
  } 
  </code></pre>