Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : I need Help

$
0
0
Thx for the explanation, PhiLho!

So, Java has a secret way to pick 1 item from a returned array,
rather than getting it full as most programming languages would expect!

Although I fail to see why your 2nd example has anything to do w/ the previous exotic "element selection".
Method append() from class StringBuilder returns its whole reference. You take it all or leave it!
And it is a very logical one, as opposed to use an index to "fish" right way an item from an array reference!

Well, unless Java has another secret to select a specific field from a returned object reference!!!  

Viewing all articles
Browse latest Browse all 1768

Trending Articles