Computer Science, asked by renakumarisingh, 1 month ago

Differentiate between declaring and initializing a variable in Java. Use examples.


please no spam ​

Answers

Answered by Anamikaraj2019
0

Answer:

When you declare a variable, you give it a name (name/age) and a type (String/int): String name; int age; Initializing a variable is when you give it a value.

Similar questions