Can anybody please explain why this code does not use Java's string pool.
This question is from dan's exam and the answer provided is false, true. I think i am struggling with strings. My main problem is that i cannot see whether this checks with the pool or not. As in this case it does not.
The below code gives true, true
Can anybody let me know the whole funda behind strings so that in future it will be easy to tackle them.