learning journal unit 5

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

What I did and how I did it:

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).

My reaction to what I did:


I am really pleased with what I did on the programming assignment. With my knowledge of abstract
class and abstract methods, I could complete the template of the assignment. There was not any
difficulty in modifying the previous “MultipleChoiceQuestion” class as a subclass, which includes the
implementation of the “ask” method and a constructor with two parameters. But, for the definition of
the “TrueFalseQuestion” class, I struggled to understand what the template questions ask to do. But, I
could do well in coding from the point of view of the assignment question. All my code is very simple and
readable.

My Feeling and Attitude:


I get to enjoy learning the Object-oriented language, Java. Reading the material writing and trying to
understand the concepts is getting harder. That is not much problem, I could handle it by giving more
attention and more time for studying. Learning is getting deeper, and I love that it is used back to my
assignment works. But my absence from the discussion forum is still a problem. I am afraid of not well
assessing my fellows.

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.

You might also like