8000 GitHub - rapraquion/Cars: Encapsulation Activity - wk2dy2
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rapraquion/Cars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cars

Activity - wk2dy2

Write a PHP class that encapsulates and display different catergories Color, Model and Brand and extends to its superclass.

Super class : Car

class Car {
    public function __construct();
    //Encapsulate your member function here `color`, `model` and `brand`
}

Sub classess : MentorCar, StudentCar

class MentorCar extends Car {
    //Your code
}

class StudentCar extends Car {
    //Your code
}

Finished : Submit a link of the source code to the Google Classroom assignment related to this project.

About

Encapsulation Activity - wk2dy2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0