From 1925 through 1963, Burma Shave advertising signs appeared next to highways all across the United States. There were always four or five signs in a row containing pieces of a rhyme, followed by a final sign that read “Burma Shave.” For example, one set of signs that has been preserved by the Smithsonian Institution reads as follows:
You’ll soon see ’em
On a shelf
In some museum
Write, compile, and test a class that outputs five lines so that each displays one line of this Burma Shave slogan in turn.
///What’s wrong with this code? It says that does not display the correct output? This was my answer:///
X Programming Exercise 1-12 BurmaShave.java Terminal Instructions 1 mport javax.swing.JOptionPane; 2 class Burnashave From 1925 through 1963, Burma Shave advertising A-Z public static void matn(String [ ] args) 3 signs appeared next to highways all across the United States. There were always four or five signs in a row /Write your code here 4 J0pttonPane.show MessageDialog (null , “Shaving brushesnYou ‘ 1l soon see shelf nIn some muscun nBurna Shave”);