Java Variables
Variable: The variable is the name of a reserved memory location. It means some part of memory is reserved when we declare a variable. e.g. int num1 = 15; num1 is a variable here. Types of Variable: Local variable A variable that is declared within the method, constructor, or block is known as a local … Read more