There were $$8$$ students in a class. Each student shook hands only once with the other $$7$$ students in the class. How many handshakes were there in total? 
选项为:A:$$28$$  B:$$36$$  C:$$49$$  D:$$56$$  请回答其中一个选项.