APCS Blog Post August 22


Successes in this class:

I was able to create a dynamic variable area calculator that could accurately print the area for rectangles, triangles, and circles. This I think was a big step in grasping java, as I now know how to call methods and can set and use method parameters to create more intricate projects. In addition I think my ability to dynamically decide what shape and dimensions I wanted was a big accomplishment compared to a lot of others who I saw hardcoding their dimensions into their programs.

Different data types in java:

  1. Boolean
    1. Booleans are true or false values. They can either be true or false.
  2. Integer
    1. Integers are whole numbers.
  3. Double
    1. Double values are double-prescision 64 bit values. I’m not totally sure what that means but it is the standard when storing decimal values.
  4. Float
    1. Floats are single-precision 64 bit values. These are more lightweight however are not as precise as double, so they are more often used for mass, low priority, data storage.

Leave a Reply

Your email address will not be published. Required fields are marked *