Programming beginners are learning by themselves. Since it is in a state of groping, there may be a lot of things to do.
As I proceeded with learning, when I expanded the learning language, I thought that even if I had done it in the past, the grammar would be confused and I would often search again, so it is rudimentary. I decided to leave it as my own memo even if it was something.
Java At the beginning of the line // Multi-line comment / * ~ * /
//This is a comment /*from here This is the comment*/
Ruby At the beginning of the line # Multi-line comment = begin ~ = end
#This is a comment =begin from here This is the comment =end