Tuesday, March 26, 2019

CST 338 Software Design

What is the largest multi-dimensional array that you have used?
What is the largest that you think would be unwieldy and why?
What does inheritance do for your classes?  Have you used it in the past? How?
Update your learning journal from what you experienced this week with class. 

The largest multi-dimensional array I used was for making a dictionary. If I remember correctly, it had about 50,000 entries. The largest array that is unwieldy depends on the user's computer. If it takes too long to update or read, then it is unwieldy. Inheritance allows for classes to become more useful by adding more instance variables and methods. I have used inheritance in a JWindow app during my Programming II class. I didn't fully understand it until I read ch7.


         This week, we learned about references and class parameters. We also learned more about arrays and references. Arrays are objects that hold the address of where it's object is in memory. It is considered to be a class type. Finally, we learned about design and implement inheritance. Inheritance is a basic tenet of OOP, reusabulity, which include a general form of a class, with specialized versions of the same class added later on. The specialized classes inherit the methods and instance variables of the general class. 

No comments:

Post a Comment

cst 499 week 8

This week, we finished writing the paper in order to do the best job possible even if it was a little bit late. Now that everything is done,...