Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify why "hej" == "hej" sometimes evaluates to true in Java, i.e mention string interning in J.1.67 or J.1.68. #783

Closed
EliasAAradsson opened this issue Dec 18, 2023 · 0 comments · Fixed by #784

Comments

@EliasAAradsson
Copy link
Contributor

EliasAAradsson commented Dec 18, 2023

See "Appendix J Introduktion till Java" slide J.1.67 and J.1.68 to see what I'm on about. Perhaps add this link: https://stackoverflow.com/questions/10578984/what-is-java-string-interning

EliasAAradsson added a commit to EliasAAradsson/introprog that referenced this issue Jan 5, 2024
Please observe that this fix creates another issue, i.e. overfull vbox for slide J.1.67. Consider addressing this by creating new slide and restructuring text between J.1.67 and J.1.68 and this new slide.
bjornregnell added a commit that referenced this issue Jun 5, 2024
Add info about string interning in slide J.1.67 fix #783
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant