This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Computer { | |
| private Processor processor; | |
| private List<Ram> ramList = new ArrayList<>(); | |
| private List<HardDisc> hardDiscsList = new ArrayList<>(); | |
| private boolean power = false; | |
| public Computer(Processor processor, List<Ram> ramList, List<HardDisc> hardDiscsList) { | |
| this.processor = processor; | |
| this.ramList = ramList; | |
| this.hardDiscsList = hardDiscsList; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| interface RectangleDataGetterInterface | |
| { | |
| public function getHeight(): int; | |
| public function getWidth(): int; | |
| } | |
| interface RectangleInterface extends RectangleDataGetterInterface |
OlderNewer