Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class A {
- private int a;
- public A(int a){
- this.a = a;
- }
- }
- class B extends A {
- public B(... cokoli){
- // zde nevolám konstruktor předka
- ... cokoli
- }
- }
- B b = new B("ahoj", 1256, false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement