File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes printing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "printing " Watch "printing " New topic
Author

printing

javazaatri wahabjava
Greenhorn

Joined: Jun 11, 2004
Posts: 1
hello,
what is the equivalent command in java to fprintln()in C.
thanks
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8996
    
    9

Java is object-oriented, rather than procedural, like C. Output is handled by streams (Java Tutorial) and formatting that output is either the responsability of the object being written via a toString() method or by helper objects like java.text.DateFormat. If you just want to write a line to the console, you can accomplish that by calling System.out.println("whatever");


[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: printing