Joanne
Campbell Ritchie wrote:As Joanne implies, this.id = id; is correct. You just haven't explained the error correctly.
Joanne
sujesh Katri wrote:as per my knowledge i corrected it yesterday.
Joanne
You mean id = id;?Joanne Neal wrote: . . . Actually I was referring to the implementation of the setId . . .
sujesh Katri wrote:suggest me any website or book to improve my coding skills...where can i find series of tests regarding to bug finding code fixing tests.
Joanne
sujesh Katri wrote:if we call any thing on null then NullPointerException will be thrown...if i call equals method on c like c.equals(c1)
Joanne
Campbell Ritchie wrote:
You mean id = id;?Joanne Neal wrote: . . . Actually I was referring to the implementation of the setId . . .
I suspect we are both talking about the same thing, but coing from opposite directions.
Joanne
Campbell Ritchie wrote:Does correcting that error actually make any semantic difference?
Joanne
Joanne
Consider Paul's rocket mass heater. |