Kesavan Muthuvel's Personal Home Page

Index| Bookmarks| I'm supporting| More info? (About me!)| Royal Thunderbird!| Maemo N900| Nexus & Pixel (Android + more )| KODI [aka] XBMC | My Public Key (GPG) | My Sign| Travel Snaps| Blog
Thanks to..| Open Materials| interview qns| scripts to look| eBooks Collection| Web Dev tips
Looking for a girl| A day - a cartoon| Shameless self promo| Goodbye GMail
தமிழ்: Type தமிழ் | Sorry, pythagoras! | Thirukkural - #PIEM
Tools: What's your IP| Resize your image| Dark status from Tor| Random token gen| RegEx me!
Double trouble: Wed Lock - 2014| Wedlock Invitation| Thulasi Kesavan| Kundavai Kesavan

Scripts I like

Here are some scripts which are useful for preparations in PHP / MySQL .Please run these.Don't just read this. Thanks to highlight_file() of PHP.

PHP Info | echo Vs print | PHP MCRYPT | PHP FUNCTION(?) | PHP __wakeup() | PHP Date Calc | PHP Multi file attach MAIL | MySQL Date Calc | PHP OOPs | jQuery

OOPs polymorphism Method Overloading | OOPs Abstract Vs Interface | OOPs Interface


Interfaces may not include member variables
* Interface function cannot contain body


interface fruit {    

mango implements fruit {    
eatme(){    echo "Eat me! I\"m so sweet" ."\n <br>";}
buyme(){    echo "you can buy me direcly from farm"."\n <br>";}
goodat(){    echo "I\"m good at proteins" ."\n <br>" ;}

//$apple = new fruit;        #PHP Fatal error:  Cannot instantiate interface fruit 

$malgova = new mango ;
$malgova->eatme();        #Eat me! I"m so sweet
$malgova->buyme();        #you can buy me direcly from farm
$malgova->goodat();        #I"m good at proteins 


Return to Kesavan Muthuvel's home page.

Please send comments on these web pages to (or)  Feedback here

CopyLeft (Ͻ) 2008 - 2023 Kesavan Muthuvel More on CopyLeft

I Don't Love FaceBook