How can i get the property in the sequence they have in file
<p>I am using file properties file and loop through that file.</p>

<pre><code>Properties Config= new Properties();
Config.load(new FileInputStream("c:\\Config.properties"));
Enumeration e = Config.propertyNames();
while (e.hasMoreElements())
{ String key = (String) e.nextElement();
  System.out.println(key + " -- " + Config.getProperty(key));
}
</code></pre>

<p>My Input in C:\Config.properties is </p>

<p><strong>Input</strong></p>

<p>fun1= abc</p>

<p>fun2=pqr</p>

<p>fun3 mno</p>

<p><strong>Output</strong></p>

<p>fun2 -- pqr</p>

<p>fun1 -- abc</p>

<p>fun3 -- mno</p>

<p>How can i get this what exactly in the Config file.</p>
