Skip to content

Instantly share code, notes, and snippets.

@neloy-ahmed
Created January 19, 2019 03:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neloy-ahmed/d1a0b88a63bb63ebf86ce12adfe578ed to your computer and use it in GitHub Desktop.
Save neloy-ahmed/d1a0b88a63bb63ebf86ce12adfe578ed to your computer and use it in GitHub Desktop.
<?php
interface World{
public function draw_map($country_name);
public function draw_flag($country_name);
}
class Bangladesh implements World{
public function draw_map($country_name){
print "Map of $country_name <br/>";
}
public function draw_flag($country_name){
print "Flag of $country_name <br/>";
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment