Sunday, August 28, 2011

Chapter 1 test

Post the code for Box and an image of your pezant in your blog.
2. Write a paragraph to explain what you did in order to create the pezant. In your explanation use each of the terms appearing in the "concept summary" of chapter 21 on page 16. Highlight the terms in the paragraph.
Prologue
I went through a lot of stuff do create the multicolored pezant. To be honest, I knew what I had to do. I knew that I had to create a new class called Box, which had the same code as Square except the parameters, and write the whole pezant code in a new class called 'Picture.' However, I had no idea how to make the arms, legs and the body in my 'Picture' class. Well yes Mr. Daly told me that I can just plagerize the code from the example. But I still didn't fully understand how I could make the codes in my picture class. 
Conclusion
From this test, I learned how to create codes to make the pezant. 
I also learned exactly what a parameter means. 
It's something you can return. lol 


But um anyway, the point is that I  DID IT. 
I MADE THE PEZANT. 


Answer this question in your blog
object
class
method
parameter
signature
type
multiple instances
state
method-calling
source code
result


No comments:

Post a Comment