Bug 553 - Variables initialization error
Summary: Variables initialization error
Status: CONFIRMED
Alias: None
Product: Chinese Checker
Classification: Unclassified
Component: Algorithm Component (show other bugs)
Version: unspecified
Hardware: All All
: --- major
Assignee: yutongmen2-c
URL:
Depends on:
Blocks:
 
Reported: 2021-11-11 14:20 HKT by yutongmen2-c
Modified: 2021-11-12 19:16 HKT (History)
1 user (show)

See Also:


Attachments
The image indicates the wrong initialization of variables in the constructer. (5.76 KB, image/png)
2021-11-12 19:16 HKT, yutongmen2-c
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yutongmen2-c 2021-11-11 14:20:10 HKT
The constructor of class Point has a wrong variables initialization method. 

Where it is: x = x;

And it is supposed to be: this.x = x;

Steps to reproduce: N/A

Actual outcome: N/A

Expected output: N/A
Comment 1 yutongmen2-c 2021-11-12 19:16:00 HKT
Created attachment 74 [details]
The image indicates the wrong initialization of variables in the constructer.