Home » JAVA Programming » Java Basic » Question
  1. What is true about the setProperties method?
    1. Changing the system properties within an application will affect future invocations
    2. setProperties method changes the set of Java Properties which are persistent
    3. setProperties writes the values directly into the file which stores all the properties
    4. setProperties method changes the set of Java Properties which are not persistent
    5. None of these
Correct Option: D

The changes made by the setProperties method are not persistent. Hence, it does not affect future invocation.



Your comments will be displayed only after manual approval.