How to leave a comment

Before

Programming beginners are learning by themselves. Since it is in a state of groping, there may be a lot of things to do.

Purpose

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.

How to leave a comment

Java At the beginning of the line // Multi-line comment / * ~ * /

qiita.java


//This is a comment

/*from here
This is the comment*/

Ruby At the beginning of the line # Multi-line comment = begin ~ = end

qiita.rb


#This is a comment

=begin
from here
This is the comment
=end



Recommended Posts

How to leave a comment
[Ruby] How to comment out
How to insert a video
How to create a method
How to make a Java container
How to sign a Minecraft MOD
How to make a JDBC driver
[Java] How to create a folder
How to write a ternary operator
[Swift] How to send a notification
How to make a splash screen
How to make a Jenkins plugin
How to make a Maven project
How to make a Java array
[Xcode] How to add a README.md file
How to execute a contract using web3j
How to sort a List using Comparator
How to make a Java calendar Summary
A memorandum on how to use Eclipse
How to redo a deployment on Heroku
[Basic] How to write a Dockerfile Self-learning ②
How to insert a video in Rails
How to add a new hash / array
[Introduction to Java] How to write a Java program
How to create a Maven repository for 2020
How to deploy
How to make a Discord bot (Java)
How to print a Java Word document
[Swift5] How to create a splash screen
[rails] How to create a partial template
How to publish a library in jCenter
[SpringBoot] How to write a controller test
Rails: How to write a rake task nicely
How to create a database for H2 Database anywhere
[Rails] How to write when making a subquery
How to deploy a container on AWS Lambda
[Rails] How to create a graph using lazy_high_charts
[Android] How to convert a character string to resourceId
How to display a web page in Java
How to delete a controller etc. using a command
[Ethereum] How to execute a contract using web3j-Part 2-
How to create pagination for a "kaminari" array
How to create a class that inherits class information
How to convert a solidity contract to a Java contract class
How to run a djUnit task in Ant
How to add a classpath in Spring Boot
How to create a theme in Liferay 7 / DXP
How to make a lightweight JRE for distribution
[1st] How to create a Spring-MVC framework project
How to implement a like feature in Rails
How to easily create a pull-down in Rails
How to generate a primary key using @GeneratedValue
[Rails] How to create a Twitter share button
[Ruby] How to generate a random alphabet string
How to make a follow function in Rails
How to build a Pytorch environment on Ubuntu
How to automatically generate a constructor in Eclipse
How to develop OpenSPIFe
How to call AmazonSQSAsync
How to use Map
How to write Rails