Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Q: Why this calling base class virsion?

 run  | edit  | history  | help 0

Please start question with Q: and make good title.

It's calling base because that's the only public i that is available. Making public int i in class B will ensure it is used instead.

  by  renz, 5 years ago

Please log in to post a comment.