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

1 Answer

StdOut is not a class that comes in the JDK.

Though, StdOut is commonly used in school projects.

9

You Might Also Like