JAVA //3B// Implement a method public static ArtObject[] filterByStatus(ArtObject[] objects, char status) that returns a new array of ArtObject. This array should contain those art objects that have the specified status. char[] status = new char[] {'s', 's', 's', 'u', 'u', 'u', 's', 's', 'u', 'u', 'u', 'u', 's', 's', 'u', 's', 's', 's', 's', 'u', 'u', 's', 's', 's', 's', 'u', 's', 's', 'u', 'u', 's', 'u', 'u', 's', 's', 'u', 'u', 's', 's', 'u'}; double[] prices = new double[] {600, 6000, 1500, 1000, 1000, 1500, 2500, 1800, 1500, 400, 4000, 2000, 5000, 1000, 2000, 6000, 800, 1000, 1500, 1000, 1500, 500, 1500, 1500, 1500, 8000, 3000, 8000, 2500, 5000, 1500, 5000, 10000, 2000, 1500, 3500, 1500, 2500, 2500, 2500}; plz i need an expert to solve it, I do not need the Indian People who use the AI to answer this question
JAVA
//3B//
Implement a method public static ArtObject[] filterByStatus(ArtObject[] objects, char status) that returns a new array of ArtObject. This array should contain those art objects that have the specified status. char[] status = new char[] {'s', 's', 's', 'u', 'u', 'u', 's', 's', 'u', 'u', 'u', 'u', 's', 's', 'u', 's', 's', 's', 's', 'u', 'u', 's', 's', 's', 's', 'u', 's', 's', 'u', 'u', 's', 'u', 'u', 's', 's', 'u', 'u', 's', 's', 'u'}; double[] prices = new double[] {600, 6000, 1500, 1000, 1000, 1500, 2500, 1800, 1500, 400, 4000, 2000, 5000, 1000, 2000, 6000, 800, 1000, 1500, 1000, 1500, 500, 1500, 1500, 1500, 8000, 3000, 8000, 2500, 5000, 1500, 5000, 10000, 2000, 1500, 3500, 1500, 2500, 2500, 2500}; plz i need an expert to solve it, I do not need the Indian People who use the
Step by step
Solved in 3 steps