This message was deleted.
# getting-started
s
This message was deleted.
d
B overrides it, so it makes sense to win. I see nothing wrong with the code at a syntactic level. At a design level it doesn’t make much sense to make an open in the first place.
1
e
there are two separate private backing fields
A.a
and
B.a
, with public accessor
B.getA
overriding
A.getA
.
A.a
is initialized to
2
but there is no way to read from it