• Post Reply Bookmark Topic Watch Topic
  • New Topic

Is casting and parsing the same  RSS feed

 
Shirhan Ousmand
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What really is the difference between them?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This seems to have nothing to do with Application Frameworks -which is what this forum is about-, so I'll move it to a more appropriate place.
 
Campbell Ritchie
Marshal
Posts: 56540
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between an elephant and a cup of tea? They are that different.

There are two kinds of casting: primitive where you change the type and maybe value of a number, and class casting where you reming the JVM which type (class) a variable is.

Parsing means going through some text (String, file, etc) and working out what its different parts (words, tokens, etc) mean.
 
Steve Fahlbusch
Bartender
Posts: 612
7
Mac OS X Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok an elephant is a big grey animal and cup of tea is a consumable, cafinated beverage.
 
Peter Chase
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q: What's the difference between a chiropodist and a drummer?

A: One bucks up the feet and the other ... (well, you work it out)

Sorry, but this is a silly thread anyway.
 
Campbell Ritchie
Marshal
Posts: 56540
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, what happens when I have to go away for most of the day! :roll:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!