If - 1 < x ≤ 1 and x is an integer, then value of x is--

Answer: 
0 and 1
If - 1 < x ≤ 1 and x is an integer, then value of x is--