paullb
paullb

Reputation: 4335

StdOut class not found

I'm using netbeans 8.0.1 to write, compile and run my code buy I can't seem to find the "standard Libraries" like StdOut and StdStats that are referred examples that I find.

Example:

https://github.com/merwan/algs4/blob/master/percolation/src/PercolationStats.java
http://introcs.cs.princeton.edu/java/stdlib/javadoc/StdStats.html

I can use System.out.println and the like to print but the StdOut class isn't found.

Anyone else having the same issue and if so, how does one rectify it?

Upvotes: 0

Views: 392

Answers (2)

Abhijeet Kushe
Abhijeet Kushe

Reputation: 2597

Here is you standard library as a part of the princeton course .It also gives details of adding it http://introcs.cs.princeton.edu/java/stdlib/

Upvotes: 1

Sam Estep
Sam Estep

Reputation: 13334

The term "stdout" is just a shortening of the phrase "standard output". It's a language-agnostic term, but in Java it usually just refers to System.out. In other words, if you're looking for a StdOut class in the standard library, you won't find one, because it's not the name of a standard Java class.

Upvotes: 1

Related Questions