Friday, July 22, 2011

Can i know why Java take everything as string type?

If we want to declare any integer or floating point variable we convert them to the respective type from string type and then store the result in that particular variable. Why can't we directly store them without converting? Why It accepts only string type?

No comments:

Post a Comment