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...

System.out & System.in are final static data member of System
class but we can change there reference through setOut() &
setIn() method how...

Answer Posted / rupakbhuyan

The System class provides the static methods setIn(),
setOut(), and setErr() for this purpose. The setIn() method
requires an argument of type InputStream that specifies the
new source of standard input. The other two methods expect
an argument of type PrintStream.

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is string builder?

841


How do you use substring in java?

1057


What is the purpose of a volatile variable?

975


Explain the importance of finally over return statement?

992


What is the differences between c++ and java? Explain

996


What is default switch case? Give example.

951


How to compare strings in java?

920


What an i/o filter in java programming?

1012


What are three ways in which a thread can enter the waiting state in java programming?

1093


What is binary tree in java?

1004


Explain java code for recursive solution's base case?

970


What is a platform?

989


What are wrapped classes in java programming?

1018


How many bytes is a string?

1082


What is wrapper class example?

932