1.

Which one of the following is displayed below the class name in the class diagrams?(a) Functions(b) Methods(c) Attributes(d) ConstraintsThis question was addressed to me during an interview.My question is based upon Object and Design-2 topic in division Object Tools and Design and Variables in PHP of PHP

Answer»

The CORRECT ANSWER is (c) Attributes

For explanation I would say: Attributes describe a class’s properties. Attributes are listed in the section DIRECTLY beneath the class name.



Discussion

No Comment Found

Related InterviewSolutions