💻 Bài tập: Shape interface
Shape interface
Lập trình

Mô tả: Tạo interface Shape và implement các hình

Tạo: 1. Interface Shape với Area() và Perimeter() 2. Struct Circle implement Shape 3. Struct Rectangle implement Shape 4. Function in thông tin của Shape

Thông tin bài tập

Khóa học: Golang Toàn tập

Bài học: Functions, Methods và Interfaces

Loại bài tập: Lập trình

Độ khó: Cơ bản

Thời lượng: 75 phút