Question: - Write in Java with OOP concepts six classes, to read a number of the color in RGB style and convert it to grayscale, the

 - Write in Java with OOP concepts six classes, to read

- Write in Java with OOP concepts six classes, to read a number of the color in RGB style and convert it to grayscale, the numbers that read are in decimal format. The five classes are: Main -- to define an object, read, run Color -- a superclass which controls all subclasses Red -- to save the color number and return its value when request. Green -- to save the color number and return its value when request.. Blue -- to save the color number and return its value when request. Gray -- it receives all RGB values and returns a grayscale value

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!