Friday, January 16, 2015

Trip to Objectville

Throughout this chapter, I learned more about Java coding, and I specifically learned about methods, classes and instance variables.

I also learned about classes, which aren't used in Python. I know how how to make a new object using class var = new class(). I hadn't realized how it worked before, but now I know how it works. I got them to work, and it makes sense. I still think that Python is easier, but I now know how it works in Java. I still prefer Python.

Here's some things I learned:

  • instance variables are the properties of an object.
  • methods are the things that an object does.
  • a class is similar to a java blueprint.
These are the 3 basic ideas in the code: instance variables, methods, and classes.

No comments:

Post a Comment