Commit ff0e4fa4 authored by elijah vasquez's avatar elijah vasquez 🦍

Replace App.java

parent 70ac242e
// Ex 1.4
public class Colour {
int red;
int green;
int blue;
public class App {
public static void main(String[] args) throws Exception {
Colour yellow = new Colour();
yellow.red = 255;
yellow.green = 255;
yellow.blue = 0;
Colour purple = new Colour();
purple.red = 128;
purple.green = 0;
purple.blue = 128;
Colour orange = new Colour();
orange.red = 255;
orange.green = 165;
orange.blue = 0;
}
}
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