java difference StdOut vs System.out.println

25,530

StdOut is not a class that comes in the JDK.

Though, StdOut is commonly used in school projects.

Share:
25,530
Haseeb Asif
Author by

Haseeb Asif

Software Engineer .Net, asp.net, C#, SQL Server, HTML , JavaScript, Durandal, Knockout, lodash, CSS, less CSS, Python, Apache Kafka

Updated on August 13, 2020

Comments

  • Haseeb Asif
    Haseeb Asif over 3 years

    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