This forum is now read-only. Please use our new forums! Go to forums

0 points
over 10 years

HELP

HELP ME!

Answer 52ebf37b80ff33d09400176a

2 votes

Permalink

points
Submitted by penguinsk
about 10 years

Answer 5234c24a548c35e2140054d1

0 votes

Permalink

What’s the problem.

points
Submitted by E Narcisse
over 10 years

Answer 528b67daf10c6091570026f0

0 votes

Permalink

“ } class Ninja extends Person { // Add your code here… const stealth=”MAXIMUM”; } // …and here! if (Ninja::stealth){ echo Ninja::stealth; }

?> “

} class Ninja extends Person { // Add your code here… const stealth=”MAXIMUM”; } // …and here! if (Ninja::stealth){ echo “MAXIMUM”; }

?> TRY THAT INSTEAD!

points
Submitted by Chr1st0ffer
over 10 years

Answer 523ae615abf821165d004f9d

10 votes

Permalink

Here’s the correct code:

 <?php
      class Person {
          
      }
      class Ninja extends Person {
        // Add your code here...
       const stealth="MAXIMUM"; 
      }
      // ...and here!
      if (Ninja::stealth){
          echo Ninja::stealth;
      }
      
      ?>
points
Submitted by Sheharyar
over 10 years

2 comments

Kehinde Orilogbon about 10 years

WHY IS THIS THE CORRECT ANSWER

Darren Blin over 9 years

Thanks!