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

Java 8 OCA 1Z0 808 exam checklist #31

Open
monikma opened this issue May 28, 2016 · 2 comments
Open

Java 8 OCA 1Z0 808 exam checklist #31

monikma opened this issue May 28, 2016 · 2 comments

Comments

@monikma
Copy link
Owner

monikma commented May 28, 2016

No description provided.

@PreetySethi
Copy link

It is really helpful to me. I was expecting this summary, felt to write of my own but luckily I got your post.
Thank you so much..I am preparing for OCA 8 just after a couple of days I will be appearing. And It boosted my preparation thankyou

@jonadv
Copy link

jonadv commented Aug 6, 2021

Great list, thanks. Small addition on the string comparisons:

"the result of "abc"+"d" is already a new String, not the one from String pool"

Writing "abcd" =="abc" +"d" will actually get the same string out of the pool and therefor compile to true, because the latter being compile time constants. However if "d" was wrapped in a (not final) variable, it would create a new String at runtime indeed and result to false.

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

No branches or pull requests

3 participants