Skip to content

Instantly share code, notes, and snippets.


pavanBS/A.php Secret

Last active Jun 28, 2017
What would you like to do?
interface A {
public function Compute();
interface B extends A {
public function Divide();
class C implements B {
public function Divide() {
echo “division of 10/2 is” . $var3;
public function Compute() {
echo “multiplication of 2*3 is” . $c;
$obj = new C();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.