Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP Object-Oriented PHP Basics (Retired) Inheritance, Interfaces, and Exceptions Inheritance to Interfaces

Sherry Jones
Sherry Jones
2,355 Points

Oop interfaces, ques "Go to the following link..." asks you to answer wrongly and marks it as wrong. Confusing.

The instruction say to select the one answer that is wrong and then, of course, marks it as wrong. Why?

2 Answers

Colin Bell
Colin Bell
29,679 Points

What do you mean it asks you to answer wrongly?

The question is:

Go to the following link on php.net and read about interfaces. Then choose the first paragraph as the answer. While you are there, you should review the page!

If you go to the link, the first paragraph is:

Object interfaces allow you to create code which specifies which methods a class must implement, without having to define how these methods are handled.

Sherry Jones
Sherry Jones
2,355 Points

Must be the literal English teacher in me. "Then" appeared to signify a return to the page with the question when it meant the next step while on the PHP page. The context of the next sentence should have clued me, but I guess I had tunnel vision by that point. Thank you.