Any of you peeps want to help a honkey out with his Java? I've to explain what and why a code segment will output.
My answer was marked as incomplete;
/**Following on from both segments, the third segment creates the memory reference 'Hello World'.
* It then assigns the 'mystring2' string the same memory reference.
/* As a result, it will display 'M3 The two strings are equal */
Any of you peeps want to help a honkey out with his Java? I've to explain what and why a code segment will output.
My answer was marked as incomplete;
/**Following on from both segments, the third segment creates the memory reference 'Hello World'.
* It then assigns the 'mystring2' string the same memory reference.
/* As a result, it will display 'M3 The two strings are equal */