Created
July 30, 2012 19:43
-
-
Save jayanath/3209511 to your computer and use it in GitHub Desktop.
Internet Service
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 Internet implements Service { | |
private String serviceName; | |
@Override | |
public double calculateServiceCharge() { | |
return 10.19; | |
} | |
@Override | |
public String printServiceInfo() { | |
return serviceName; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment