Created
February 4, 2019 21:19
-
-
Save sfmishra/1ce4ef51494df60a6ec9beed67deb7db to your computer and use it in GitHub Desktop.
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
/** | |
* 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