Created
June 4, 2019 07:35
-
-
Save dnivra26/d5896ceec8f43132d762b2ceccda9bf2 to your computer and use it in GitHub Desktop.
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
package com.dnivra26; | |
interface Time { | |
public void setTime(); | |
public int getTime(); | |
} | |
interface Alarm { | |
public void setAlarm(); | |
public void getAlarm(); | |
} | |
interface Radio { | |
public void setRadio(); | |
public void getRadio(); | |
} | |
class AlarmClock implements Alarm { | |
@Override | |
public void setAlarm() { | |
//actual function | |
} | |
@Override | |
public void getAlarm() { | |
// return alarm | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment