Database Variable Java (Static vs enum) : <p>I'm just going through my code and tidying things up, standardising things etc.</p>

<p>Just a quick questionin my Database class I have declared the database variables at the start of the class. see below:</p>

<pre><code>    private static final String DATABASE = ".....";
    private static final String DRIVER = "....";
</code></pre>

<p>Is this the best way to do this or would I be best creating an enum and accessing them through that?</p>

<p>Do it really matter at the end of the day?</p>

<p>Thanks
Ian</p>
