Skip to content

Instantly share code, notes, and snippets.

@jayanath
Created July 30, 2012 19:43
Show Gist options
  • Save jayanath/3209511 to your computer and use it in GitHub Desktop.
Save jayanath/3209511 to your computer and use it in GitHub Desktop.
Internet Service
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