My PHP Quiz

The ultimate place for testing what you have learned



Home | Start Quiz | List of questions  | Login / Register

Question #24: Which statement about the code below is correct?
68% on 707 times asked

class A {}

class B {}

class C extends A, B {}

the code is perfectly fine
classes can not be empty
class C can not extend both A and B
qualifiers 'public' or 'private' are missing in class definitions
© 2007-2010, My PHP Quiz, All rights reserved.
Can you find a bug in the quiz? Can you think of a new question that would be cool to add to this site? Email us and we will take action:
email us
Other Quizes | Contributors