Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // TODO: Klasse für Teilnehmer mit geeignetet Properties und Methoden erstellen
- class Teilnehmer {
- private $Vorname;
- private $Nachname;
- private $Semester;
- public function getVorname()
- {
- return $this->Vorname;
- }
- public function setVorname($Vorname)
- {
- $this->Vorname = $Vorname;
- }
- public function getNachname()
- {
- return $this->Nachname;
- }
- public function setNachname($Nachname)
- {
- $this->Nachname = $Nachname;
- }
- public function getSemester()
- {
- return $this->Semester;
- }
- public function setSemester($Semester)
- {
- $this->Semester = $Semester;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement