Danh mục

HandBooks Professional Java-C-Scrip-SQL part 105

Số trang: 6      Loại file: pdf      Dung lượng: 23.54 KB      Lượt xem: 11      Lượt tải: 0    
Thư viện của tui

Hỗ trợ phí lưu trữ khi tải xuống: 2,000 VND Tải xuống file đầy đủ (6 trang) 0
Xem trước 2 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

@implementation Circle -(float )radius { return radius ; } -(void )radius :(float )r { radius = r ; } @end Dont use "get" in the name of your accessors. By convention, methods whose names start with "get" take an address into which data will be copied. If you are using reference counting, there are more design patterns you should follow when writing accessors. These are discussed in Section 1.12.2. 1.3.5.7 Message search paths When you send an object a message (call one of its methods), the code that actually runs is determined by a search performed at runtime. The dispatch...
Nội dung trích xuất từ tài liệu:
HandBooks Professional Java-C-Scrip-SQL part 105

Tài liệu được xem nhiều: