1 / 1

Animation of PartyN

CupM. ratio. 0.8. CupM.setRatio(Float.parseFloat(arg[0]));. MugM. m1 = new MugM();. volume. 250. Paper CupM. p1 = new PaperCupM();. amount. 120. PaperCupM. m1.fill();. times. 1. volume. 150. p1.fill();. mthd stack. MugM. amount. 200. arg. m1. MugM. p1. PaperCupM.

tavi
Download Presentation

Animation of PartyN

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CupM ratio 0.8 CupM.setRatio(Float.parseFloat(arg[0])); MugM m1 = new MugM(); volume 250 PaperCupM p1 = new PaperCupM(); amount 120 PaperCupM m1.fill(); times 1 volume 150 p1.fill(); mthd stack MugM amount 200 . . . arg m1 MugM p1 PaperCupM PaperCupM ? c1 amount 120 CupM this this CupM CupM times 1 this CupM this CupM Animation of PartyN c1 = m1; c1.drink(); 195 c1 = p1; c1.drink(); 115

More Related