About 552,000 results
Open links in new tab
  1. In Java what is the syntax for commenting out multiple lines?

    17 In Java what is the syntax for commenting out multiple lines? I want to do something like:

  2. and /* in Java Comments - Stack Overflow

    Apr 23, 2015 · } The second form is a block (multi-line) comment. You use this if you want to have multiple lines in a comment. I will say that you'd only want to use the latter form sparingly; that …

  3. java - Eclipse comment/uncomment shortcut? - Stack Overflow

    Apr 4, 2011 · 373 For single line comment you can use Ctrl + / and for multiple line comment you can use Ctrl + Shift + / after selecting the lines you want to comment in java editor. On …

  4. How to comment a block in Eclipse? - Stack Overflow

    Jan 4, 2010 · Using Eclipse Mars.1 CTRL + / on Linux in Java will comment out multiple lines of code. When trying to un-comment those multiple lines, Eclipse was commenting the comments.

  5. Can we have multiline comments in a Java properties file?

    Nov 11, 2010 · In a Java .properties file we can do single line comments with #. Is there any way by which we can do multi-line comments?

  6. How can I comment multiple lines in Visual Studio Code?

    I cannot find a way to comment and uncomment multiple lines of code in Visual Studio Code. Is it possible to comment and uncomment multiple lines in Visual Studio Code using some …

  7. Why is '//' style multiline comment bad (in Java)?

    Aug 7, 2014 · The // comment delimiter can comment out a complete line or only a partial line. It shouldn't be used on consecutive multiple lines for text comments; however, it can be used in …

  8. nested multiline comments in java - Stack Overflow

    Aug 21, 2011 · 6 I'm presuming you are wanting to comment out nested code for debugging or testing purposes, right? Because leaving huge blocks of commented out code in production …

  9. what is difference between single line and multiple line comments …

    Jun 21, 2013 · Then what would be the difference in these two comments in terms of program translation from .java to .class (or in other words why do we need single line comments, when …

  10. java - Keyboard shortcut to comment several lines of code in …

    May 15, 2020 · Keyboard shortcut to comment several lines of code in IntelliJ Asked 5 years, 8 months ago Modified 9 months ago Viewed 9k times