Java Difference Stdout vs System. Out. Println [Closed]

I have just started working on java, As i downloaded the eclipse and created a java project. Project was working fine, then i imported a class but it's not working due to following lines

StdOut.println(p + "  " + q);

after searching i have replaced it with

System.out.println(p + "  " + q);

and same way for input.

I tried importing system.io.* didn't worked. then i tried import StdIn not worked

As i can feel is that it may be due to different project template/type. and tutorials links will also be helpful. Thanks

1

StdOut is not a class that comes in the JDK.

Though, StdOut is commonly used in school projects.

9
Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest