The Artima Developer Community
Sponsored Link

Java Buzz Forum
PrintStream Class

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
instanceof java

Posts: 576
Nickname: instanceof
Registered: Jan, 2015

instanceof java is a java related one.
PrintStream Class Posted: Jan 28, 2015 10:40 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by instanceof java.
Original Post: PrintStream Class
Feed Title: Instance Of Java
Feed URL: http://feeds.feedburner.com/blogspot/TXghwE
Feed Description: Instance of Java. A place where you can learn java in simple way each and every topic covered with many points and sample programs.
Latest Java Buzz Posts
Latest Java Buzz Posts by instanceof java
Latest Posts From Instance Of Java

Advertisement
  • This class is filer output Stream  class, It adds functionality to another output stream , namely the ability to print representation of various data values conveniently.
  • It is the most convenient class in writing data to another output stream, because of below three reasons.
  1. Unlike other output stream's write() method , write() method of this class never throws an IOException.
  2. Calling flush() method is optional, it is called automatically.
  3. In addition to default write() methods  it is defined new methods called print() and println(). These two methods are overloaded to print all types of java data type values including object. Below are the overloaded print() and println() methods list.
  1. public void print(int x);
  2. public void print(long x);
  3. public void print(float x);
  4. public void print(double x);
  5. public void print(char x);
  6. public void print(boolean x);
  7. public void print(char[] x);
  8. public void print(String x);

Read: PrintStream Class

Topic: Java Weekly 5/15: CDI in Java SE, DeltaSpike, James Gosling and more ... Previous Topic   Next Topic Topic: Top 7 Reasons to Use the NetBeans IDE

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use