+ 2
How do I make a little comment box?
I saw people write in codes little gray boxes where they can explain stuff in.. I'd like to make this too but I can't seem to figure out how to make 1 under my code. I want to make one where it starts with the two forward slashes. class Lyrics { public static void main(String [] args) { System.out.println ("Sound of Silence"); System.out.println ("________________"); System.out.println ("Hello darkness my old friend"); } } //Hello darkness, my old friend I've come to talk with you again Becaus
2 ответов
+ 16
U can use multiline comments for that
/*
type here
*/
//like this 👇
class Lyrics {
public static void main(String [] args) {
System.out.println ("Sound of Silence");
System.out.println ("________________");
System.out.println ("Hello darkness my old friend");
}
}
/*
Hello darkness, my old friend
I've come to talk with you again
Becaus
*/
+ 2
Thanks