Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
Dataoutputstream VS printstream
abalfazl hossein
Ranch Hand
Posts: 635
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
While the printstream can be used for write different primitive data of
JAVA
, What is the the advantage of Dataoutputstream
Stephan van Hulst
Saloon Keeper
Posts: 15491
363
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
DataOutputStream outputs binary data. PrintStream prints character data.
Use DataOutputStream when you want to store information. Use PrintStream when you want to display information.
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Client-Server Problem
FilterOutputStream
streams
Unable to send data.
What to use regarding streams
More...