English

Define the term Initialization of Variables.

Advertisements

Question

Define the term Initialization of Variables.

Definition
Advertisements

Solution

Initialisation of Variables in Java is the process of assigning an initial value to a variable after its declaration or at the time of declaration. The value is assigned using the assignment operator (=) and must be compatible with the variable's data type.

shaalaa.com
  Is there an error in this question or solution?
Chapter 6: Variables and Expressions - EXERCISE [Page 131]

APPEARS IN

Dheeraj Mehrotra Computer Science [English] Class 12
Chapter 6 Variables and Expressions
EXERCISE | Q 11. | Page 131
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×