![]() |
![]() |
|
home—info—lects—labs—exams—hws
tutor/PIs—breeze (snow day)
Object120 + its docs—java.lang docs—java.util docs
Due Date: Sep.03 (Mon.) in class.
Instructions:
Learning hint: Before typing them in, think to yourself what you think the answer should be; feel free to note if any surprising or puzzling results.You might find BlueJ's CodePad handy, for evaluating expressions.
hint:Pay attention to the spacing!
In the previous example, the result of
Re-write the previous expression
so that it explicitly3 calls
1You could even use BlueJ's editor, if you like. ↩
2implicit: without saying. So an implicit function-call is one that happens, even though you didn't actually write it in your program. ↩
3Explicity: with saying. So an explicit function-call is one that is written right there in your program. ↩
4I'm asking for the expression, not the numeric result. ↩
home—info—lects—labs—exams—hws
tutor/PIs—breeze (snow day)
Object120 + its docs—java.lang docs—java.util docs
©2012, Ian Barland, Radford University Last modified 2012.Aug.31 (Fri) |
Please mail any suggestions (incl. typos, broken links) to ibarland ![]() |
![]() |