"Whole number" is not clearly defined. It may refer to integer, only to the positive integers, or to the non-negative integers (natural numbers and zero).
"If a number is an integer, then it is a whole number." In math terms, the converse of p-->q is q-->p. Note that although the statement in the problem is true, the converse that I just stated...