How do you check if an int field is empty?

If you are not assigning any value to int default value will be 0. If you want to check for null then make int as Integer in declaration. Then Integer object can be null. So, you can check where it is null or not.

Sizin İçin Seçtik  Fear Greed Index nedir?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do you check if an int field is empty?

If you are not assigning any value to int default value will be 0. If you want to check for null then make int as Integer in declaration. Then Integer object can be null. So, you can check where it is null or not.

Sizin İçin Seçtik  Caizdir ne demek anlami?

Leave a Reply

Your email address will not be published. Required fields are marked *