Skip to content

Instantly share code, notes, and snippets.

@sfmishra
Created February 4, 2019 21:19
Show Gist options
  • Save sfmishra/1ce4ef51494df60a6ec9beed67deb7db to your computer and use it in GitHub Desktop.
Save sfmishra/1ce4ef51494df60a6ec9beed67deb7db to your computer and use it in GitHub Desktop.
/**
* Child class extending Abstract class which extended Virtual class
*/
public class ExtendController extends AbstractMarker{
public override decimal discount(Integer markerCount) {
if(markerCount > 10) {
return 1.5;
} else {
return 0.5;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment