Cognizant Interview Question

Is BJT or MOSFET better? Basics of Programming