I have written the CDException class and the CD class, and now I'm trying to write a driver class to run the other classes. I have to

Read the artist name from user
Read the album name from user
Read the price from user
Read how many in stock from user

And print what they wrote but only the valid entries. Other entries will be ignored upon printing if they just enter blanks.

And my question is, where would I ask the user to enter in the artists name, album name, price and how many in stock and enter that into an ArrayList? I understand that I have to use the wrapper to add into the ArrayList, but I'm confused on how to ask the user the questions and add it to the ArrayList and only printing the valid input ignoring other invalid input

Here's what I have for my driver class that is supposed to print the CD's information. This already has the CD information, now I have to modify it to so that I can ask the user to enter that information.

Code:
public class CDStore2{

   public static void main (String[ ] arg) throws Exception{
	
	ArrayList (CD) CD = new ArrayList( );

   try{
          CD cd1 = new CD("Muse", "The Resistance", 11.99, 20);
          System.out.println(cd1.toString( ));
          System.out.println("=========================");
       }
     catch(CDException cde){
          System.out.println(cde.getMessage( ));
          System.out.println("=========================");
     }

   try{
          CD cd2 = new CD("Yanni", "The Live at the Acropolis", 11.99, 0);
          System.out.println(cd2.toString( ));
          System.out.println("=========================");
       }
     catch(CDException cde){
          System.out.println(cde.getMessage( ));
          System.out.println("=========================");
     }


   try{
          CD cd3 = new CD("Muse", "Black Holes and Revelations", 10.99, 15);
          System.out.println(cd3.toString( ));
          System.out.println("=========================");
       }
     catch(CDException cde){
          System.out.println(cde.getMessage( ));
          System.out.println("=========================");
     }
          
   try{ 
          CD cd4 = new CD("Paul Mc Cartney", "All the Best", -0.99, 12);
          System.out.println(cd4.toString( ));  
          System.out.println("=========================");
       }
     catch(CDException cde){
          System.out.println(cde.getMessage( ));
          System.out.println("=========================");
     }
          
   try{
          CD cd5 = new CD("Lady Gaga", "The Fame Monster", 14.99, 44);
          System.out.println(cd5.toString( ));
          System.out.println("=========================");
       }
     catch(CDException cde){
          System.out.println(cde.getMessage( ));
          System.out.println("=========================");
     }    
     
          
          
   try{
          CD cd6 = new CD("", "California Gurls", 1.29, 4);
          System.out.println(cd6.toString( ));
          System.out.println("=========================");
       }
     catch(CDException cde){
          System.out.println(cde.getMessage( ));
          System.out.println("=========================");
     }    
        
   
   try{   
          CD cd7 = new CD("Pitbull", "", 11.99, 12);
          System.out.println(cd7.toString( ));
          System.out.println("=========================");
       }
     catch(CDException cde){
          System.out.println(cde.getMessage( ));
          System.out.println("=========================");
     }    
   
   }//main method ends

} //program ends