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

Is there a jre for java 11?

789


Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification

1598


Is call by reference possible in java?

712


If you are given the name of the function at run time how will you invoke the function?

868


what is mena by object block any what is the use of that

1955


What are the two categories of data types in the java programming language?

699


Differentiate between nested and inner class in java.

748


What is the difference between replace and replace all?

668


State some situations where exceptions may arise in java?

817


What does math floor () do?

715


Explain java coding standards for constants?

754


How can we make sure main() is the last thread to finish in java program?

904


What is a flag variable?

727


How are variables stored?

713


What is ‘is-a ‘ relationship in java?

776