Toggle navigation
Genres
Frontend (2)
JavaScript (6)
Database (2)
Linux Server (3)
Web Apps (4)
Misc (4)
Search
List
New Tutorials
Last Modified Tutorials
</>
Code examples
code
smiko
backend
php
oop
classes_objects
65interface_definition.php
65interface_definition.php
<?php /** *Primjer pokazuje da se ne moze kreirati objekt abstraktne klase *te da se moze pristupiti sa :: operatorom */ interface X { const PII=3.14; //public $sv=' Svojstvo '; //public static $sv_stat=' StaticSvojstvo '; //protected static $sv_stat=' StaticSvojstvo '; //private static $sv_stat=' StaticSvojstvo '; //public function pub(){echo ' PublicMet ';} //abstract public function metoda(); public function metoda(); } ?>
Reload page
Preview
W3C validation
Edit Code