Write a java program to perform the followings Create a class “colors” which define
package “Oops” and contain one member function called mix_color which takes three
values color1, color2 and color3 to find the combination of three colors and return the
value to the function call. Write a syntax to generate a package for the same class. Import
the above generated package to your current class called “color_formation” to inherit the
colors class. Override the mix_color member function to make sure that all arguments
must be within the range from 1 to 256. Check whether the color mixed value is already
there in the file or not, if it’s not available in the file then write into the file.
Answers
Answered by
0
Answer:
hi friends i am new in this application
Similar questions