Write a Java program that displays all 4-character strings in lexicographic order (alsocalled dictionary order) on the screen. It must display a string of 4 characters per line.Only the characters a, b, c, d are allowed within character strings, but you can reuse thesame character more than once within the same string. Within the same string, thecharacter "b" must always be immediately followed by the character "a". The same stringcannot contain both the character "d" and the character "a". Your program should end withthe number of character strings displayed on the screen. Your program receives nothingas input. Your program code must not include pre-calculated strings: it must generatethem at runtime. Your program should not contain more than 200 short lines of code.
Review the scenario and watch this week’s videos before you complete the activity below. This scenario can also be found in the “Problems – Series A” section 8-19A of Ch. 8, “Performance Evaluation” o
Review the scenario and watch this week’s videos before you complete the activity below. This scenario can also be found in the “Problems – Series A” section 8-19A of Ch. 8, “Performance Evaluation” of Fundamentals of Managerial Accounting Concepts. Scenario: The Redmond Management Association held its annual public relations luncheon in April Year 2.