Hallo means “Hello,” an ordinary greeting you can use when meeting a classmate.
Hoi means “Hi,” a friendly, informal greeting.
Hoe heet je? means “What’s your name?”, literally “How are you called?” Hoe means “how,” heet expresses being called by a name, and je is informal singular “you.” In this question, heet comes before je.
Ik heet Anna means “My name is Anna,” literally “I am called Anna.” Ik means “I”; ik heet is followed by a name. The statement puts ik before heet, whereas Hoe heet je? puts heet before je.
Leuk je te ontmoeten means “Nice to meet you.” Here leuk means “nice,” ontmoeten means “meet,” and te ontmoeten means “to meet.” Adding je, the person being met, gives je te ontmoeten, “to meet you.”
Ja means yes and confirms what someone just asked. If someone checks your name with Anna?, reply Ja when that is right.
Nee means no and rejects what someone just asked. If someone checks the wrong name, reply Nee. Ik heet Anna. Use your actual name.