How to Create New Java Class in Android Studio

4290 View    Feb 9 2020 2:18AM


Step 1:  Firstly, Select app > Java > package > Right Click on package. After that Click on New > Java Class. Remember to choose your package in which you want to create new class.



 Step 2: After that Enter Class name and Click on OK. Here we create Class Animal as shown in figure below.


Step 3: New Java Class will be created in your Android project.