Question: Using java..... can someone help me write this program following the instructions in the pictures. Submission Notes Even though on-campus students wll submit the first
Submission Notes Even though on-campus students wll submit the first page to your GA to assist in everyone must submit files to Web-CAT for grading. Those files are: 1. Picture.java 2 PietureTest.java Problem: Picture What You Will Do You will implement a class called Picture that has three pieces of data associated with it 1. size a whole number that represents the size of the picture in kilobyntes, must be 1 or larger 2 color -a boolean value that indicates it the picture is color or black and white tormat a string that indicates if the picture is in bmp peg, titt. png ,or git These are the only formats allowed. Should be stored in lowercase, but input may be in any case (i.e., TiFE should be legal and stored as tiff). You should write the following methods: a default constructor that initializes the size to 1, color to true, and format to none" an overloaded constructor that takes 3 parameters: an integer for the size, a boolean indicator for color and a String indicating the format 3. 3 accessor methods 4. 3 mutator methods 5. tostring method that prints out the information in the following format Picture is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
