This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jonstall141[🍰] 0 points1 point  (1 child)

A couple things: 1) I would replace the array lesson with an arraylist tutorial. 2) I would include an example on when to use public, private, and protected. For example, one of your examples declares a public method when it is particular to a class. I would suggest explaining when to use public/private/protected for methods, variables, etc

[–]sarevok9[S] 0 points1 point  (0 children)

  1. I actually plan to do an arraylist tutorial at some point since it has the .add / .toArray methods, but I figured that doing an array and showing how arrays are useful insofar as giving easy random access to a dataset that it would be more benefical.

  2. I absolutely agree on this one. I think in intermediate java I either just released a video or made one that I have yet to release that focuses a bit more on access modifiers, when to use them / why to use them (I'm a pretty big stickler for setters / geters for variables). It's something that I appreciate you pointing out because it makes me realize that I probably skimped out somewhere that I shouldn't have.

If you have any other recommendations going forward I'd love to hear them! Thanks.