How should I implement the press method so that it's behaviour remains the same?
package com.codegym.task.task39.task3906;
/*
Interfaces will save us!
*/
public class Solution {
public static void main(String[] args) {
SecuritySystem securitySystem = new SecuritySystem();
/*ElectricPowerSwitch electricPowerSwitch = new ElectricPowerSwitch(securitySystem);
electricPowerSwitch.press();
electricPowerSwitch.press();*/
}
}