Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

variables  RSS feed

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai
what is meant by stream variables(System.in,System.out)
 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi swamy.
in java there are three Streams which are always open .
System.in
System.out
System.err
in ---> This is the instance variable declare inside class InputStream
out---> This is the instance variable declare inside class Printream
err---> This is the instance variable declare inside class PrintStream
all Three are public ,static and final
and all three are related to standard stream (input ,output ,error) that's they called as stream variables.

i hope it's clear now if any mistake please do back.
vishwas
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!