Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2016
    Rep Power

    Default System class maintains a Properties object

    At the following website,

    it says, "System class maintains a Properties object that describes the configuration of the current working environment."

    1. What does this mean: "System class maintains a Properties object?"

    2. Also the System object and the Properties object both have a method by the same name called getProperty(String key).

    Is getProperty(String key) in both situations really the same method or is it two different methods which just happen to have the same name and same parameters?

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Northern Virginia, United States
    Rep Power

    Default Re: System class maintains a Properties object

    It means that System class maintains an instance of the Properties object. The Properties class simply subclasses Hashtable to
    store the values of a property. Look at the Properties API for more info.

    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

Similar Threads

  1. Replies: 4
    Last Post: 09-06-2012, 02:48 PM
  2. If i change a system properties...
    By Max-Power in forum New To Java
    Replies: 0
    Last Post: 03-07-2011, 10:22 PM
  3. System Properties
    By Starvation in forum Advanced Java
    Replies: 43
    Last Post: 06-30-2010, 09:35 AM
  4. Getting System Properties
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 11-19-2007, 05:00 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts