I know this is basic knowledge but whenever you give parameters to a method are you 'parsing' them, or are you 'passing' them as 'parsing' could be something different?!
I'v开发者_如何学JAVAe just never been overly sure!
Thanks
You are passing them.
"Parsing" means trying to interpret text or strings and break it down into data elements of some kind. (For example, you could parse a string describing a date to turn it into a date object, or parse a file containing source code and turn it into an executable.)
Passing. Parsing is breaking up / interpreting strings.
Each spelling could equally be synonymous e.g. when parsing a date just before passing it into a function.
精彩评论