Water in the ocean 2022-01-26 15:25:06 阅读数:725
stay java Appears in the source program of , Explain the source code
adopt // To quote a single line comment , Literally , This comment will only apply to // Mark the of this line after , Anything beyond this line will be considered source code
// Here is a single line comment
adopt /* XXXX */ Reference multiline comments , Mark between two asterisks , No matter how many lines you write , Just between two asterisks , It is regarded as a mark
/* mark
mark
mark
mark
mark */
It's a java Unique annotation method , There will be a special javadoc.exe To extract the comment , Don't understand and learn for the time being , Just know .
/**
* notes
* notes
* notes
* notes
* notes
*/
copyright:author[Water in the ocean],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/01/202201261525048664.html