Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- abstract class Rownanie
- {
- abstract protected function wyswietl();
- abstract protected function setDane($dane);
- }
- class Dane extends Rownanie
- {
- private $tab;
- public function __construct(){
- $this->tab = array(0,1,2,3);
- }
- public function wyswietl(){}
- public function setDane($dane){
- $this->tab[0] = 4;
- $this->tab[1] = 5;
- $this->tab[2] = 3;
- $this->tab[3] = 2;
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement