Bryan Snipes

Greenhorn
+ Follow
since May 09, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bryan Snipes

I'm just a newbie myself, but I'll try to answer (also for my own learning).
The "==" operator is for comparing two primitive variables.
The ".equals" is used for comparing the value of two objects.

I'm sure the gurus around here can add more explanation.
15 years ago
Thanks! I've been programming for over 11 yrs. (just not Java), so I have seen similar types of statements. I was curious as to why the book didn't cover it (or why the course did).
15 years ago
I'm back... that didn't take long!
I am taking an online course as well as using the Head First Java book. The online course discusses the Switch statement, but the book doesn't. Is the Switch something that is now outdated? Or was it put into the language after the book was published? Just need to know if this is something I should spend time learning.
15 years ago
Hello everyone... I am just beginning to learn Java thru online courses. My first question (of many!) is what is the (Shirt s) in the code below? I understand that this method is accepting parameters from another class. But I don't understand what the "Shirt" is... the course said the "s" is the parameter.

15 years ago