Table:
|  |  | For the Year Ended |  |
| --- | --- | --- | --- |
|  | January 31, 2020 | February 1, 2019 | February 2, 2018 |
| Net income attributable to VMware, Inc. | $6,412 | $1,650 | $437 |
| Weighted-average shares, basic for Classes A and B | 417,058 | 413,769 | 410,315 |
| Effect of other dilutive securities | 8,177 | 7,362 | 10,572 |
| Weighted-average shares, diluted for Classes A and B | 425,235 | 421,131 | 420,887 |
| Net income per weighted-average share attributable to VMware, Inc. common stockholders, basic for Classes A and B | $15.37 | $3.99 | $1.07 |
| Net income per weighted-average share attributable to VMware, Inc. common stockholders, diluted for Classes A and B | $15.08 | $3.92 | $1.04 |
Paragraphs:
H. Net Income Per Share
Basic net income per share is computed by dividing net income by the weighted-average number of common stock outstanding during the period. Diluted net income per share is computed by dividing net income by the weighted-average number of common stock outstanding and potentially dilutive securities outstanding during the period, as calculated using the treasury stock method. Potentially dilutive securities primarily include unvested restricted stock units (“RSUs”), including PSU awards, and stock options, including purchase options under VMware’s employee stock purchase plan, which included Pivotal’s employee stock purchase plan through the date of acquisition. Securities are excluded from the computation of diluted net income per share if their effect would be anti-dilutive. VMware uses the two-class method to calculate net income per share as both classes share the same rights in dividends; therefore, basic and diluted earnings per share are the same for both classes.
The following table sets forth the computations of basic and diluted net income per share during the periods presented (table in millions, except per share amounts and shares in thousands):
Question:
Which years does the table provide information for the computations of basic and diluted net income per share?
Answer: 2020, 2019, 2018