Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Difference between ?System.out.println?
and ?System.error.println??

Answer Posted / narendrakumar

System.out.println(""); are used for displaying the data on
the console monitor and also send the data to the files...

But In System.err.println(""); mainly used for displaying
the err msg on the console monitor(stderr(standard
error))But we
cannot send the data to the file...only console monitor

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do I need to declare the type of a variable in java?

997


Explain about object oriented programming and its features?

967


a thread is runnable, how does that work? : Java thread

930


Can the interface be final?

966


How do you compare two strings lexicographically?

889


How does map works in java?

943


What is update method called?

1092


Can keyword be used as identifier?

902


Explain what pure virtual function is?

972


What is a lock or purpose of locks in java?

975


What is java in simple terms?

950


Is void a data type?

902


What is a substitution variable?

974


Is null or empty java?

930


What’s the difference between constructors and other methods?

935