Professional Documents
Culture Documents
learning journal unit 5
learning journal unit 5
learning journal unit 5
This week, I assessed my three fellows’ assignments. Moreover, I have learned about “the abstract" class,
“this and super” variables, “Interface”, and “nested” classes. Then, I completed the programming
assignment for this week. By the way, I was absent to implicate in the discussion forum for this week.
In my programming assignment, I defined an abstract call named “Question” with the two class
variables, two instance variables, two instance concrete methods, and the abstract “ask” method. Later,
the class named “MultipleChoiceQuestion” from the previous work was modified to extend the abstract
class. In this class, the abstract method “ask” is implemented. Then the new extended class
“TrueFalseQuestion” was defined as asking true or false questions and showing the rate of the correct
answer. Also in this class, the abstract class “ask” is implemented.
To describe “this” and “super” variables; “this” term means that when it is used in the instance method,
“this” refers to the object that contains the method (David, 2019). When the “super” term is used in the
subclasses, the “super” term used with a method means that this method is one of the superclasses
(David, 2019).
What I learned:
From section 5 of chapter 5, I have learned what are an abstract class and an abstract method, and how
to define them in the superclass and implement them in the subclass. The use of “this” and “super”
variables is learned from section six. The basic concepts of “Interface” and “Nested Class” were learned
from sections seven and eight.
Challenge:
The main challenge of learning the concepts is that they are getting harder to understand while reading
the material. I have to give more attention and more time to reading. And I am weak in researching extra
information outside the material book. This is also a challenge to get a deeper understanding of the
concepts and to implement all the assignments.
One important thing related to the activity:
With my full-time job, I struggled to complete all the assignments for each unit. I think that is just an
excuse for my absence. I am the person who has the most responsibility for schoolwork. I will try my best
to better time management in the next weeks.
Reference;
Eck, D.J. (July, 2019). Introduction to Programming Using Java: Version 8.1. Department of Mathematics
and Computer Science, Hobart and William Smith Colleges: Geneva, NY 14456.