1.

Which of the following is true about Java system properties?(a) Java system properties are accessible by any process(b) Java system properties are accessible by processes they are added to(c) Java system properties are retrieved by System.getenv()(d) Java system properties are set by System.setenv()I had been asked this question by my college professor while I was bunking the class.I want to ask this question from Environment Properties in section Exploring java.lang & java.io of Java

Answer»

Right ANSWER is (B) Java system properties are accessible by PROCESSES they are ADDED to

For explanation: Java system properties are only USED and accessible by the processes they are added.



Discussion

No Comment Found

Related InterviewSolutions