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
밑에 재가 만든 프로그램이 이걸 말하는건데 ㅠㅠ 죶망인가요 ㅠㅠ? 아진짜 미치겟네요 ㅠㅠ
난 니가 짠 소스 보자마자 뒤로가기함
형님 재발 도와주시면 안될까요 ?ㅠㅠ 재발요 진짜 부탁드릴게요 ㅠㅠ