• Post Reply Bookmark Topic Watch Topic
  • New Topic

use of flush  RSS feed

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is meaning of System.out.flush() ?

what is meaning of abstract?
 
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Questions of the "What does method X do?" are best answered by reading their javadoc entries. If that doesn't help, come back here and tell us what you didn't understand about it.

As to abstract: http://docs.oracle.com/javase/tutorial/java/IandI/abstract.html
 
Ranch Hand
Posts: 77
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi aman,

AS Ulf said, a question is well answered if you dig up some knowledge yourself....but still:

The flush method flushes the output stream and forces any buffered output bytes to be written out. The general contract of flush is that calling it is an indication that, if any bytes previously written have been buffered by the implementation of the output stream, such bytes should immediately be written to their intended destination.
The buffering is mainly done to improve the I/O performance.

Abstract is defined in the link Ulf has shared.

Thanks,
Shivom
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!