[My Blog]
All roads lead to JavaRanch
www.cs-repository.info
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
String.charAt returns a char and the constants are also chars so autoboxing doesn't come into play there. Only at stack.push(stuff);Campbell Ritchie wrote:I was not quite sure about the use of the == operator, because you usually use the equals() method, but in this case boxing and unboxing will take care of that.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Agree.Kurt Van Etten wrote: . . . that's bad form from a OO perspective.
CLUCK LIKE A CHICKEN! Now look at this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
|