Semester_2/OOP/midterm/Cau2/TestRectangle.java
class TestRectangle {
    public static void main(String[] args) {
        Rectangle rec = new Rectangle("Ruby", "Red", 6, 8);
        // In loai hinh chu nhat
        System.out.println(rec.getType());
        // In thong tin
        System.out.println(rec.toString());
        // SV tu kiem tra them cac phuong thuc khac
        System.out.println(rec.getPerimeter());
    }
}
