Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //this simple learning script php about class and inhiritance
- include 'makhlukhidup.php';
- include 'tumbuhan.php';
- $tumbuhan= new Tumbuhan();
- echo $tumbuhan->menanggapiRangsang(" overriding method");//method override
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement