Question: what does it mean when a guy stares at you alot in class?
Answer: If a guy looks at you all the time, he is almost certainly highly attracted. Since you don't mention any attempts at interaction on his part, likely he is very shy and or uncertain of how you might respond and unwilling to risk rejection. If you like him or think you might be interested, smile at him.