It is a common mistake for beginners to think of generalizations as sp dịch - It is a common mistake for beginners to think of generalizations as sp Việt làm thế nào để nói

It is a common mistake for beginner

It is a common mistake for beginners to think of generalizations as special
associations. This misconception arises because both generalizations and
associations connect classes together in a class diagram.
However, the differences between the two concepts are profound.
■ An association describes a relationship that will exist between instances at runtime.
■ A generalization describes a relationship between classes in a class diagram.
An object diagram can never contain a generalization, and can only contain
links generated by associations, not the associations themselves.
When you show an object diagram generated by an association, you show
instances of both classes joined by that association. On the other hand, when you
show an object diagram generated by an inheritance hierarchy, you show a single
instance of one of its concrete classes. That single instance will contain values of
the attributes defined in its class, as well as those attributes inherited from
superclasses. In other words, an instance of any class should also be considered
to be an instance of each of that class’s superclasses.
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
It is a common mistake for beginners to think of generalizations as specialassociations. This misconception arises because both generalizations andassociations connect classes together in a class diagram.However, the differences between the two concepts are profound.■ An association describes a relationship that will exist between instances at runtime.■ A generalization describes a relationship between classes in a class diagram.An object diagram can never contain a generalization, and can only containlinks generated by associations, not the associations themselves.When you show an object diagram generated by an association, you showinstances of both classes joined by that association. On the other hand, when youshow an object diagram generated by an inheritance hierarchy, you show a singleinstance of one of its concrete classes. That single instance will contain values ofthe attributes defined in its class, as well as those attributes inherited fromsuperclasses. In other words, an instance of any class should also be consideredto be an instance of each of that class’s superclasses.
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Đó là một sai lầm phổ biến cho người mới bắt đầu nghĩ đến những khái quát như đặc biệt
hiệp hội. Quan niệm sai lầm này sinh ra vì cả hai khái quát và
các hiệp hội kết nối lớp học với nhau trong một sơ đồ lớp.
Tuy nhiên, sự khác biệt giữa hai khái niệm này rất sâu rộng.
■ Một hiệp hội mô tả một mối quan hệ đó sẽ tồn tại giữa các trường tại thời gian chạy.
■ Một khái quát mô tả mối quan hệ giữa các lớp trong một sơ đồ lớp.
Một sơ đồ đối tượng không bao giờ có thể chứa một sự tổng quát, và chỉ có thể chứa
các liên kết được tạo ra bởi các hiệp hội, không phải là hiệp hội mình.
Khi bạn thấy một sơ đồ đối tượng được tạo ra bởi một hiệp hội, bạn thấy
trường hợp của cả hai lớp tham gia của hiệp hội đó. Mặt khác, khi bạn
thấy một sơ đồ đối tượng được tạo ra bởi một hệ thống phân cấp thừa kế, bạn thấy một đơn
thể hiện của một lớp học cụ thể của mình. Đó là trường hợp duy nhất sẽ chứa các giá trị của
các thuộc tính được định nghĩa trong lớp học của mình, cũng như những đặc tính di truyền từ
superclasses. Nói cách khác, một thể hiện của lớp nào cũng cần được xem xét
để có một thể hiện của mỗi superclasses của lớp đó.
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2024 I Love Translation. All reserved.

E-mail: