Q.3. What is the main purpose of declaring variable in Java?
Variables in Java are used to allocate specific amount of memory for the data and to inform the compiler about the type of data that will be stored.
Q.3. What is the main purpose of declaring variable in Java? Read More »