.. (לתיקייה המכילה) | ||
Do we have to calculate metrics for array types? | |
No, you should not have array types in the list of classes, However, you should calculate metrics for the component types of the arrays. |
A mistake in the HourlyEmployee example | |
The correct call should be: new OverrideMetricsCalculator (new HourlyEmployee()); instead of new OverrideMetricsCalculator (new MonthlyEmployee()); |
Can you publish some tests and outputs? | |
A test and output is now available in the assignment section. |
How should I count a field that hides two fields in different base classes? | |
Such a field is *one* hiding member. |
Do we have to count metrics for void? | |
No. |
What should we do if one member is both realizing and overriding? | |
In such cases you should increment both metrics counters. |
In my output there are some classes that do not appear in the published output. | |
This may happen due to different versions of Java used and should not pose problem since we will compile your programs using the same build that we used for our code. |