Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A
- {
- protected MyObject d;
- A(MyObject c)
- {
- d = c;
- }
- }
- class B extends A
- {
- B(MyObject c)
- {
- super(c)
- d.bla();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement