Comments 

Single-line comments use a double slash (//):

// This is a single line comment

println("Hello, World!") // This is a single line comment too, after valid code

Block comments use a slash and asterisk to open the block (/*) and an asterisk and slash to close (*/):

/*
This is a multi-line comment,
Roses are red
... and I forgot the rest

*/

println(/*block comments can be inside valid code*/ "Hello, World!")
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.68.28