Bargains With Evil
From Huben's Wiki
(Created page with "Betimes we must bargain with others, even with evil. In Java, these bargains are made with contracts, '''method calls''', using '''arguments''' and '''return values'''. The arg...") |
(→Lawyer Up To Read Other Contracts) |
||
Line 60: | Line 60: | ||
==Lawyer Up To Read Other Contracts== | ==Lawyer Up To Read Other Contracts== | ||
+ | Seek ye the library class documentation that we spake of before.. | ||
+ | |||
+ | # What are the argument types of Math.random()? And the return type? | ||
+ | # The same for Math.getExponent()? | ||
+ | # The same for String.endsWith()? |