What are the default values of the primitive data type int and float?

Views 14

Answer:

Default value of int is 0 and float is 0.0f.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.