A ____ is a special member function used to initialize the data members of a class.

A ____ is a special member function used to initialize the data members of a class.

A. constructor

B. destructor

C. static method

Hướng dẫn

Chọn A là đáp án đúng

Xem lời giải

Xem lời giải

Hàm tạo được gọi khi tạo 1 đối tượng (object), hàm tạo khởi tạo member data của class

 

Đánh giá chủ đề này
How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site