Let a = {x | x greater than or equal to - 1 less than or equal to 2}, B = {x | x greater than or equal to 0 less than or equal to 4}, then a intersects B =?

Let a = {x | x greater than or equal to - 1 less than or equal to 2}, B = {x | x greater than or equal to 0 less than or equal to 4}, then a intersects B =?


The answer [0,2] represents the interval [0,2]; that is, all numbers between 0 and 2 (including 0 and 2); and you think that 0,1,2 may regard x as an integer; but the question does not say that x is an integer;