تم الحل ✓
categoryبرمجة وتطوير البرمجيات
schoolبكالوريوس
event_available2026-07-13
السؤال
Transcribed Image Text:
- balance: Money
-credit Limit : Money
-owner: Person
CreditCard
+CreditCard(newCard Holder:Person, limit:Money):
+ getBalance() : Money
+getCredit Limit(): Money
+ getPersonals(): String
+ charge(amount:Money) : void
+payment(amount:Money): void
- dollars:long
-cents:long
Money
+ Money(amount:double):
+ Money(otherObject:Money):
+add(otherAmount:Money): Money
+ subtract(otherAmount:Money): Money
+ compareTo(otherObject:Money): int
+ equals(otherObject:Money):boolean
+toString(): String
Person
- lastName: String
-firstName: String
-home: Address
+toString(): String
Address
-street: String
-city: String
-state:String
-zip: String
+toString(): String
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.