The number 335 can be evenly divided by 1 5 67 and 335, with no remainder.
Since 335 cannot be divided by just 1 and 335, it is a composite number.