Tim Driven Development | Test until the fear goes away
Tim Cooke wrote:I've added a bunch of comments into your code to help explain what's going on. Matthew got in there while I was typing this out, and he's right, the source of the misunderstanding is down to the fact that to the 'operate' method you're passing a reference to an Object, not the Object itself.
Tim Driven Development | Test until the fear goes away
Tim Driven Development | Test until the fear goes away
Javaranch Policy wrote:When asking any question, please quote your sources. Quoting your sources means that you mention where you got the question from: for example the title and authors of a book, the name of a mock exam, address of a website where you got the question from etc.
This is especially important in the certification forum, for the posting of mock questions. This is needed for several reasons:
It is polite and professional to do so. Giving attribution is an important habit, and the author of the source would appreciate it.
For mocks, it will help people find the mock exam. For other cases, it will provide people with a source of information. In either case, it will help put your question in context.
It helps you if other people can check that you have interpreted the question (or the information) in the same way as the author intended.
Note: Do not post questions that you got on the actual exam. Those questions are copyrighted and you are not allowed to republish them.