Skip to content

Instantly share code, notes, and snippets.

@sfmishra
Created February 4, 2019 21:19
Show Gist options
  • Save sfmishra/554803f0d949e476feea76863894ea33 to your computer and use it in GitHub Desktop.
Save sfmishra/554803f0d949e476feea76863894ea33 to your computer and use it in GitHub Desktop.
/**
* Declaring and defining Abstract class extending Virtual class
*/
public abstract class AbstractMarker extends Marker {
public override void write(){
system.debug(' ABSTRACTMARKER: writing text with permanent Marker.');
}
// Declaring abstract method
public abstract decimal discount(Integer markerCount);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment