Correct the following code:
// classic childern's favorite"99 bottles of beer" public class BeerSong { public static void main (String[] args) { int beerNum = 99; String word = âbottlesâ; while (beerNum > 0) { if (beerNum == 1) { word = âbottleâ; // singular, as in ONE bottle. } System.out.println(beerNum + â â + word + â of beer on the wallâ); System.out.println(beerNum + â â + word + â of beer.â); System.out.println(âTake one down.â); System.out.println(âPass it around.â); beerNum = beerNum - 1; if (beerNum > 0) { System.out.println(beerNum + â â + word + â of beer on the wallâ); } else { System.out.println(âNo more bottles of beer on the wallâ); } // end else } // end while loop } // end main method } // end class