‫Hello, my friends, and welcome back.
‫In this video, we'll learn how to run Java programs in Android studio Open Android studio.
‫This is the welcome screen of Android studio.
‫Select new project and select No activity because we're not going to create an app.
‫We're going to create a Java program that runs Java Codes.
‫Click next.
‫And here you name the the application or the program.
‫I'll name it as Java examples.
‫This is the package name you can choose.
‫Com dot master coding dot Java examples or whatever you want.
‫This is the save location, the language Java and the minimum SDK.
‫Android studio will specify the minimum SDK and it's recommended click finish.
‫After that, we go to file and we create here a new module.
‫So click new, new module and we have this menu.
‫Select Java or Kotlin Library.
‫And this is the library name.
‫This is the package name, class, name and language Java.
‫Don't make any changes here, just click finish and Java Library will be imported to your project.
‫Now how to run our projects In Android studio.
‫We have this lib folder, we open it, we can see the main and the test folder later on when we talk
‫about unit testing.
‫Will, Will, will work with this folder.
‫But now I'm going to work with the main folder.
‫You can see Java Campmaster coding dot lib and this is my class.
‫Double click on it and here we have our class.
‫So in this video we learned how to create and how to run projects, Java projects in Android studio.