hey man, first off nice work with your videos, while they can be a little chaotic at times they're also very easy to understand. if i can make a suggestion it would be nice if you introduced episode 19.5 (or even18.5) and explained briefly access modifiers, otherwise existence of getters and setters doesnt make much sense at this point. i think everyone would have better understanding if they knew why they exist in the first place (instead of accessing objects fields directly as you have shown so far). anyways, keep up the good work!
@DarkCraftPlayz4 жыл бұрын
Nice series man. made java really easy for me
@lanse0123 жыл бұрын
it took me forever to learn constructors because i was placing them in the wrong spot lol. Anyways, im back to learning this stuff again yay! Most of this is easy to understand so thank you for this guide. Just 1 question, why do you use int when long can be used for more numbers? is it more efficiant, or something, or what?
@KodySimpson3 жыл бұрын
Long you should only use when you know you need more number range, because it requires more memory. In every day programs the amount of memory really wont matter, but just as a good practice the integer is the default number type and most methods use integer anyway. The higher the range, the more RAM it uses.