Java Programming Tutorial - 41 - Building Objects for Constructors
Top Comments
All Comments (259)
-
@COD5252 method names, variable names, class names... etc can be called whatever you want to call them. lol you don't always have to use apples and tuna as class names, the same way you dont have to use setHour, setMinute as method names. but it is definitely a little easier to read that way
-
@gatoo23 THANKS FOR FINALLY SAVING MY FINGERS!
-
@dragonthewatcher i belive that its outdated or somfin cause it says the format is nonexistant
-
@COD5252 because what the method did was set and get soooo... the code inside did it therefore the name doesn't matter.but with the toString all that happens was you did the return and its not logical to do it automatically so it must be built in. however this requires codes to set and get so the only logical meaning of the names is organization :P all it is is logic. that's all java is is 100% logic
-
@dragonthewatcher @dragonthewatcher ok i got it by doing experiments but just asking how you know that they are names because he didnt tell anywhere in the video
-
@dragonthewatcher write gethour same as you wrote getminute and getsecond
-
@COD5252 they are just names... fail. its called organization :P
-
@kidharris55 but great tutorial.
-
Your Really pissing me off with this time shit.
instead of System.out.println(), just do:
syso and type crtl+Space ...
gatoo23 3 months ago 40
Hahaha "dud"
Schroomer87 3 months ago 8