Write a Complete program for the following specification:

   The SerialNumber class takes a software serial number in

   the form of  LLLLL-DDDD-LLLL where each L is a letter

   and each D is a digit. The serial number has three groups

   of characters, separated by hyphens. The class extracts

   the three groups of characters and validates them.

Example:

      String serial1= "GHTRJ-8975-AQWR"; // Valid

      String serial2 = "GHT7J-8975-AQWR"; // Invalid

      String serial3 = "GHTRJ-8J75-AQWR"; // Invalid

      String serial4 = "GHTRJ-8975-AQ2R"; // Invalid

밑에 재가 만든 프로그램이 이걸 말하는건데 ㅠㅠ 죶망인가요 ㅠㅠ? 아진짜 미치겟네요 ㅠㅠ