Help me please
I just started following along with a how-to code video in java, but when I print stuff it only prints "Hello world!" and nothing else, do you know why it is doing this? By the way, I am a super new coder and I really need help. The video is pretty old and it is using a different website to code but I don't think that is the case. If you do end up helping me thank you so much! Also sorry if the coding is super bad... I am still working on it.
Hey! Your error is that you said
you should have said....
System.out.print(); instead of
Prints line without break. Example:
// ... System.out.print("Hello, "); System.out.print("I'm super cool!"); // ...
Hello, I'm super cool!
Prints with line break. Example:
// ... System.out.println("This line is continueous until..."); System.out.println("oops"); // ...
This line is continueous until... oops