Bug 569 - Variables initialization error
Summary: Variables initialization error
Status: CONFIRMED
Alias: None
Product: CS3343 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-17 23:45 HKT by yutongmen2-c
Modified: 2021-11-17 23:45 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-17 23:45 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-17 23:45:21 HKT
Created attachment 86 [details]
The image indicates the wrong initialization of variables in the constructer.

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 outcome: N/A