Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Liczby {
- private int a = -1;
- static int b = 4;
- Liczby(int i) {
- a = a + i;
- b = a + b;
- }
- Liczby() {
- b = a + 3;
- a = b + a;
- }
- void wyswietl() {
- System.out.println("a = " + a + " b = " + b);
- }
- static {
- b = b * 2;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement