Week 9: CST338 Software Design: Java Tour

This past week marked the beginning of our second course, CST338: Software Design. I'm thrilled to finally dive into coding, and surprisingly, I'm finding myself enjoying Java despite my past experience.

This week's topics have covered a lot of ground, it's a whirlwind of new concepts.

Dr. C.'s diagram finally clarified this keyword:


Access Modifiers in Java:

private: Accessible only within the class itself

package-private: Accessible within the same package (default when no modifier is used)

protected: Accessible within the class, package, and subclasses

public: Accessible from anywhere


Cohesion and coupling:


Data Types:

Primitive Types: Store values directly

byte, short, int, long

float, double

char, boolean

Reference Types: Store memory addresses of objects

String


Git Terminal Commands: 

git status (It tells you the current state of your project)

git add . (adds a change in the working directory to the staging area)

git commit -m "" (Commit)


CodingBat: 

My initial impression of Coding Bat was underwhelming, but I've been pleasantly surprised by how much I enjoy the problem-solving challenges. There's something truly immersive about tackling these coding puzzles.

I won't deny that this course will be demanding. I initially underestimated the workload, but I'm ready to face the challenge head-on. 

Comments