开发者

Difference between Parsing and Passing?

开发者 https://www.devze.com 2022-12-28 20:25 出处:网络
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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号