Java Variable Types and Rules for Declaring Variables
Variable is nothing it is just the name of memory location. While declaring variables we must follow rules given below. Rules for Declaring Variables in Java 1. Variable name must bound with data type. It means while declaring a variable we must specify its data type. Ex: int x=10; 2. Reserve word or keywords cannot …
Java Variable Types and Rules for Declaring Variables Read More »