What does the String parameter in getSharedPreferences() do?
<p><strong>Edit:</strong> The provided "duplicate" doesn't solve my question as it doesn't fully answer my question. (Info about the second parameter is missing).</p>

<hr>

<p><em>This question is intended to clear out the information for new Android developers and <strong>not</strong> to solve my own problem. Please reconsider the downvotes.</em></p>

<p>So, here's the method:</p>

<pre><code>getSharedPreferences(string, Context.MODE_PRIVATE);
</code></pre>

<p>I can't really get what the first parameter does. What does it do?  Why is there a first parameter if when we save something to <code>SharedPreferences</code> we use a key?</p>