- Java Project Structure
- Basic Java
- Java Data Types
- Java Control Statements
- Java Arrays
- Java Classes and Methods
- Java Inheritance
- Java Interfaces
- Java Threads
- Make sure you have installed Java Extension Pack on vscode
- Ctrl+Shift+P -> Java: Create Java Project
- Click No Build Tools
- Select the folder where you want to create the project
- Enter the project name
- Then click Finish
- You will see the project structure like this:
Java-Project-Sample
├───.vscode
├───lib
└───src
└───main
└───App.java
- You can create a new Java file by right-clicking on the src/main/java folder and select New File
- Enter the file name with the extension .java
- Then click Enter
- You will see the file structure like this:
Java-Project-Sample
├───.vscode
├───lib
└───src
└───main
└───App.java
└───HelloWorld.java