diff --git a/DEV.2.1/TP/TP5-Heritage/Gris.java b/DEV.2.1/TP/TP5-Heritage/Gris.java index 688bc2e..b978bd4 100644 --- a/DEV.2.1/TP/TP5-Heritage/Gris.java +++ b/DEV.2.1/TP/TP5-Heritage/Gris.java @@ -1,3 +1,26 @@ -public class Gris extends Color{ +import java.awt.Color; +public class Gris extends Color { + + private int rgb1; + private int rgb2; + private int rgb3; + + public Gris(int x,int y,int z) { + x = 128; + y = x = z; + this.rgb1 = x; + this.rgb2 = y; + this.rgb3 = z; + + return x,y,z; + } + + public int verifyRGB(int val1, int val2, int val3) { + + } +l bslslvns + public static void main(String[] args) { + + } } \ No newline at end of file