What is declaring in Java?

To create a variable, you must tell Java its type and name. Creating a variable is also called declaring a variable . When you create a primitive variable Java will set aside enough bits in memory for that primitive type and associate that memory location with the name that you used.

Sizin İçin Seçtik  How do you create a new object?

Leave a Reply

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

What is declaring in Java?

To create a variable, you must tell Java its type and name. Creating a variable is also called declaring a variable . When you create a primitive variable Java will set aside enough bits in memory for that primitive type and associate that memory location with the name that you used.

Sizin İçin Seçtik  Does return end a method Java?

Leave a Reply

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