Commit 30297c98 authored by elijah vasquez's avatar elijah vasquez 🦍

im about to commit

parents
{
"java.project.sourcePaths": ["src"],
"java.project.outputPath": "bin",
"java.project.referencedLibraries": [
"lib/**/*.jar"
]
}
## Getting Started
Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code.
## Folder Structure
The workspace contains two folders by default, where:
- `src`: the folder to maintain sources
- `lib`: the folder to maintain dependencies
Meanwhile, the compiled output files will be generated in the `bin` folder by default.
> If you want to customize the folder structure, open `.vscode/settings.json` and update the related settings there.
## Dependency Management
The `JAVA PROJECTS` view allows you to manage your dependencies. More details can be found [here](https://github.com/microsoft/vscode-java-dependency#manage-dependencies).
public class App {
public static void main(String[] args) throws Exception {
System.out.println("a");
Colour Yellow = new Colour(255,255,0);
Colour Purple = new Colour(128,0,128);
Colour Orange = new Colour(255,165,0);
}
}
// Ex 1.4
public class Colour {
int red;
int green;
int blue;
public Colour(int red2, int green2, int blue2){
this.red = red2;
this.green = green2;
this.blue = blue2;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment