Meie süsteem peab oskama isikukoodi järgi öelda, kas tegemist on mehega või naisega ja lisaks ka isikukoodist võtta isiku sünnipäeva. Kirjutame klassi Human (fail Human.php), mille väljad on vastavalt siis eesnimi, perekonnanimi ja isikukood. Lisame klassi ka funktsioone isikukoodi parsimiseks (http://et.wikipedia.org/wiki/Isikukood): Naide 6.2.3 (Human.php) familyname; private $idCode; /** * Human class constuctor. * Also sets human firstname and familyname * * @param string $firstname human firstname * @param string $familyname human familyname */ public function __construct($firstname, $familyname) { $this->setFirstname($firstname); $this->setFamilyname($familyname); } /** * Sets human firstname.
about's husband. The ending of the plural ('s) may be added to a sentence and the effect is colloquial. e.g ,,I'm sorry for you" is worse twenty I told you so's. Abstract nouns used in the plural They become expressive when used. E.g She confronted the injustices, the meanness of our company. 2 Article The article with proper names adds a colloquial touch. e.g The Hardy's were rather late (the family) He was introduced a Ms.Hubbard Have you A.Turner? (art) The article ,,a", ,,an" before a familyname creates evaluative meaning. e.g I do not claim to be a Rousseau. I don't claim I sing well. In numeration, adjectives require grammatically just one article. e.g He was a nice, pleasant man. We may have an article with every adjective. e.g It was a brilliant, an excellent, a breath-taking idea. The second and third articles are uncommon and thus they emphasize the words that follow. Absence of the article in the singular of countable nouns is violation of the norm, however it