Mastercard interview question

Sub types and Super Types