Java two equal signs in one statement? [duplicate]
问题 This question already has answers here : Java - Order of Operations - Using Two Assignment Operators in a Single Line (4 answers) Closed 5 years ago . Can someone help me understand what the following code does and what the line with two equal sign does? How does something equal to something equal to something work in this constructor? public More ...LinkedList() { header.next = header.previous = header; } Here is the link to the website where I saw this and I'm trying to figure it out: http: