Last active
February 28, 2020 20:44
-
-
Save azeezat/219cc972990044f46e594979f78f69e6 to your computer and use it in GitHub Desktop.
Interface Implementation in Java
This file contains 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
import java.io.*; | |
interface LampInterface{ | |
void turnOn(); | |
void turnOff(); | |
displayLightStatus() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment