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.
No comments:
Post a Comment