+ 1

Would a comment be able to be ended and code inserted AFTER it?

23rd Feb 2016, 9:19 PM
Alex Diaz
Alex Diaz - avatar
5 Answers
+ 2
Nevertheless, you should never do so as it's no good style. ;)
23rd Jun 2016, 11:20 PM
Christian
+ 1
Yes
16th Apr 2016, 4:18 PM
Harri HoĂ ng Tráș§n
Harri HoĂ ng Tráș§n - avatar
+ 1
yes you can insert code after comment, but first of all the comment should be ended.
30th Jun 2016, 10:14 AM
Aishwarya Patil
Aishwarya Patil - avatar
+ 1
java is freeform, so inserting code after a comment functions exactly the same as inserting the code in the next line, plus putting code on the same line as a commebt can make your code hard for others to read
23rd Jul 2016, 5:42 PM
Atom Roese
Atom Roese - avatar
0
yes, but you need to remember that you must end the comment
8th Apr 2016, 12:50 PM
Ryan Siautama
Ryan Siautama - avatar