X hits on this document

Powerpoint document

Module 2: Introduction to UML - page 23 / 48

240 views

0 shares

0 downloads

0 comments

23 / 48

23

public Class Selection

{ private Purchase myPurchase = new Purchase();

 private Payment myPayment;

  public void purchase()

{ myPurchase.buyMajor();

 myPurchase.buyMinor():

 myPayment = new Payment( cashTender );

 //. . 

}

 // . . 

}

:Selection

:Purchase

:Payment

purchase

buyMajor

buyMinor

create(cashTender)

Sequence Diagrams & Some Programming

Document info
Document views240
Page views240
Page last viewedSun Dec 04 11:02:55 UTC 2016
Pages48
Paragraphs1110
Words3759

Comments