COMS W1004 Lecture Notes - Lecture 15: Tulse Luper

22 views3 pages

Document Summary

04 / 21 / 20 checking account - fee per withdraw balance as. = static last account number transactions } new. E or monthly - deduct penalty } new public class checking extends bank account private int private double penalty transactions public checking ( string name ) l. Luper chameli transactions = o ; penalty = 1. C ; where c is actually a checking object reference: monthly 11 v, monthly l ) x cannot call methods on b that don"t appear in ba class checking d = * is instance of ( i ( checking ) b ; is instance of , checking , , , if , b: monthly ( l l. Withdraw 1100. 0 : s , withdraw is object reference to checking , calls withdraw it in checking invokes to withdraw it from checking. I public class card implements comparable s cards (cid:15482) collections .

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents