Create an interface, "IBendable", with one method, "Bend". Create two classes, "Spoon" and "Arm", that implement "IBendable". "Spoon" will also have an "Eat" method, and "Arm" will also have a "Raise" method. Each of these methods prints a message indicating its function. Write another class with a "Main" method, declaring two objects of type "IBendable", one a "spoon" and another an "arm". Call the "Bend" method.
Jesus Christ, /prog/ is only little children asking for homework help these days. Do your own fucking programming homework. If you can't, ask your fellow students or your teacher for help. Or just go study something else.
The point of homework is to learn something from it, not to invest minimal effort to get other people to do it for you.
Name:
Anonymous2007-11-13 18:27
>>21
/prog/ is filled with amatures or s'kiddies anyway, like real professional JAVA ENTERPRISE PROGRAMMERS would visit here, much less 4chan in the first place
>>21 Jesus Christ, /prog/ is only little children asking for homework help these days.
True, there should be more discussions about SICP. You know, where everybody says SICP SICP SICP but obviously nobody ever read it.
I believe you mis-interpretted the correct behavior of the original snippet: in the case where the initial state is {help:false,noob:false} your code will give them help when it shouldn't. The corrected version correctly still doesn't help them.
Name:
Anonymous2009-03-06 11:34
The BOARDS ARE ABOUT the whitespace thing putStr tail fix.
Name:
Anonymous2010-12-17 1:24
Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?
If you answered "Yes" to all of the above questions, then GNAA(GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!