Skip to main content

Contact

Hi, I am Taranjeet Singh Kalsi,

I hope that you have gone through my introduction. If you want to contact me feel free to write an email on email address programmingchaska@gmail.com. I will reply to your email as soon as possible. Subscribe to get the latest post and to inspire me to write amazing and unique programs.

Thank You ðŸ˜‡

Comments

Popular posts from this blog

Which data type is appropriate to store age of person?

Which data type is appropriate to store the age of the person? I will clearly say that to store the age of the person, the appropriate data type is an  int data type. However, if you are trying to reduce space complexity, I will say that you should go for byte data type as it has a range of -128 to 127. On the other hand, int data type ranges from  -2,147,483,648 to 2,147,483,647.  So byte data type would be perfect as the age of a person is more likely to be smaller than 127 (the maximum number which a byte data type can store).  I would generally prefer int data type because of the following reasons: We should not use float data type to store age as it would be inappropriate because the age of a person is generally preferred in numbers and not the decimal format. For Example, We say that the Age of a person is 18 rather than saying that that the age of the person is 18.0 or something like that. We should not use the String data type as it would be tri...