Gregory saw that the answer to a problem in his friend’s textbook was 4+2i. This is an example of which type of number?

an integer
a rational number
a complex number
an irrational number