1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817
- Posts: 23
- Joined: Fri Mar 26, 2021 7:25 am
j=30 makes no sense.
Is j initialised in static block or outside of static block?
If j is initialised in the static block, then j=100 should be the answer because instance variable is executed after static block.
If j is initialised outside of static block with j=100, then static block is executed after the instance variable initialisation, which is contradiction with the rule.
- Site Admin
- Posts: 9421
- Joined: Fri Sep 10, 2010 9:26 pm
You might want to go through the code again more carefully.
Users browsing this forum: No registered users and 3 guests