Please Implement A Program Using Java To Simulate

Please Implement A Program Using Java To Simulate