Beginning Classes in Java: Part 1
Uploader Comments (shlumph)
Top Comments
-
java makes me wanna jump off a cliff
-
@chrysillo C++ is so much better!
All Comments (24)
-
@tharwpoop correction: names do not need to be capital its encouraged to be lowercase not capitalized but it won't matter
-
@tharwpoop....By convention, programmers using Java begin their class names with an uppercase letter. Thus, the class that defines the attributes and methods of a person would probably be named Person, and the class for lets say a dog would probably be named Dog. However, following this convention is not required to produce a workable program. Hope this helps!
-
how can i download this video? i found this more useful than my teacher's lecture and i've been killing myself for the past 2 days trying to figure this out by reading 3 diff books that explain it differently, thumbs up if you are a visual and hand's on lerner..
-
@tharwpoop i think its simply to distinguish between variables and structs or objects/classes, its a programming standard that helps in maintenance.
-
I'm 12 and i understood this :D
-
wat does "public string", "public int" and "public Person" mean??? i mean, give specific meanings of those...
-
My screen is not empty even at the beginning, it has some codes, some files at the left screen which I can't delete. IDE is somehow non linear and confusing. If I want to rename the classduring typing, I can't do it.
How to write a code that will subtract two numbers?
-
@Dillboy928dfb ye and much easier
-
This makes javascript seem so easy.
Why does the name of a class need the first letter to ba always capital? Is there a specific reason or is it just an arbitrary rule that the creators of jave decide to put in?
tharwpoop 1 year ago
@tharwpoop Not sure of the exact reason, but in some OS's file names are case sensitive, while others are not. Since the class name and the file name need to be the same, this could cause some problems in portability.
But then again, ThisObject() and Thisobject() are both valid. The decision was probably made due to popular naming conventions.
shlumph 1 year ago
This comment has received too many negative votes show
You truly don't know your audience
There is a lot of Java Jargon out there that you've not taken into account from a noobs perspective
BBBBOOOOOOO, you're rubbish (nice try though)
toiletman1983 2 years ago
What Java Jargon don't you know? Of course, you need to learn to walk before you can run :D
shlumph 2 years ago 2
hey, why do we need constructors?
aren't they by default from Object?
MySimon25 2 years ago
Constructors help initialize fields of the object
shlumph 2 years ago