How do i extend multiple classes in Android Studio?
<p>I am following a tutorial on YouTube yo request permissions
at runtime. I created a Java Class called: AbsRuntimePermission and i have to extend it on my MainActivity.
But i also have to extend AppCompatActivity, is there a way to extend both?
Because if i try that it will give me a error:</p>

<pre><code>Class cannot extend multiple classes
</code></pre>

<p>And i am trying like this:</p>

<pre><code>public class MainActivity extends AppCompatActivity, AbsRuntimePermission {
</code></pre>

<p>I hope someone can help me out, i am following this tutorial:
<a href="https://www.youtube.com/watch?v=b0pqDwsCEfs" rel="nofollow">https://www.youtube.com/watch?v=b0pqDwsCEfs</a></p>