Sunday, 14 February 2016

Week 4 SLOG

      In this week from the lecture, the professor just threw a new idea to us, which is superclass and subclass. This was an easy concept but has a lot of subpoints in it. The relationship between superclass and subclass contains inherited, overridden and extended. Those features help the programming developer avoid duplicated codes and make the coding more logical. Next, the professor introduced another idea on stack and sack. Stack has a feature which is 'first in first out'. However, the idea of sack is entirely different. Sack keeps its randomness. Sack is like a real bag because if the programming developer put all the information in the sack, then when the information needs to be removed, it will be removed randomly. From this week learning, I have realized that this course is more focusing on the design of the class instead of implementing the class.

No comments:

Post a Comment