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 / vikas

but the Final method have there behavior to not get change but it get change through setIN() & setOut() methods how...
i know it is used to change its reference but why it get change if it is a final method...

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a method signature java?

569


why using interface interface ?

1504


What is the unit of plancks constant?

569


What are autoboxing and unboxing? When does it occur?

534


What is a nested structure?

532






What do u mean by variable?

561


when you will synchronize a piece of your code? : Java thread

527


Explain about exception propagation?

583


What is string builder?

464


What is the difference between assignment and initialization?

554


What is the purpose of using the java bean?

566


What does int argc char * argv [] mean?

514


what is daemon thread and which method is used to create the daemon thread? : Java thread

526


Define interface in java?

605


What are the difference between string, string builder, and string buffer in java?

551