Question: I just need the TODO done correctly please 7. contritructors (rTobos ereate an ithage constructor that Initiallies all the attribute to a dotadit value public



7. contritructors (rTobos ereate an ithage constructor that Initiallies all the attribute to a dotadit value public Iaage () I width =5 t hetght =1tt maxVal =6t 1 11 creates an image objoct by reading the input image pablie Image (string input_file) I History |IC [C. /) accessors //Tobo: get width accessor public int getwidth() I return 0 ; ) //ToDo: set width mutator public void setwidth(int w) I 1 /rodo: get height accessor public int getheight() I return 0 ; 1 //TODO: set height mutator public void setBeight(int h) I ff read the pixels int k=0 i for ( int i=0;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
