<?php interface Vendor { public function make(); } class Samsung implements Vendor{ public function make() { return "This is Samsung product"; } } $vendor = new Samsung(); echo $vendor->make();
You have javascript disabled. You will not be able to edit any code.