Activity methods : protected OnDestroy public OnBackPressed
<p>I have just a curiosity. 
If i override backpressed , ondestroy I notice that :</p>

<pre><code>    @Override
public void onBackPressed()

@Override
protected void onDestroy()
</code></pre>

<p>Why onbackpressed is public and ondestroy is protected . I now difference between protected and public but i don t understand why they have different modifier . It is juts a curiosity </p>
