What is wrong in my code below?
//be attentive to access modifiers class Standard { protected void draw() { System.out.println("Drawing"); } private void write() { System.out.println("Writing"); } } //fix the class class Pro extends Standard{ protected void useEffects() { System.out.println("Using Effects"); } protected void changeResolution() { System.out.println("Changing Resolution"); } } public class Main { public static void main(String[] args) { Standard standard1 = new Standard(); Pro pro1 = new Pro(); //standard version standard1.draw(); standard1.write(); //Pro version pro1.draw(); pro1.write(); pro1.useEffects(); pro1.changeResolution(); } } Please help me