Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Animal
- {
- use Cat, Dog {
- Dog::wantWalkies as protected doggyWalk;
- // this next line does not work
- // Dog::wantWalkies as protected insteadof Cat;
- Dog::wantWalkies instead of Cat;
- Dog::wantWalkies as protected;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement