Write a class Member with:
- static fields
nextNumber(starts at 1) andactiveCount, and a constantPREFIX = "LIB"; - instance fields
id,name,active; - a constructor that gives each member the next id
LIB-0001,LIB-0002, … (String.format("%04d", …)); cancel(), staticgetActiveCount()and staticgetIssuedCount(), andtoString()→LIB-0002 Omar (cancelled).
LibraryCards.main reads commands join Name and cancel LIB-0002 until the end of input (Welcome Lina, your card is LIB-0001, Cancelled LIB-0002 or No card LIB-0009), then prints all members, Cards issued: 3 and Active members: 2.