Question: Each following line represents declaration of variable with value. Write correct or incorrect for each one and write the correct declaration in case it is
Each following line represents declaration of variable with value. Write correct or incorrect for each one and write the correct declaration in case it is incorrect.
Declaration of variable Correct / Incorrect Rewrite the declaration after correction int a; b; String my Name = "Ahmed"; int boolean =1; String 0range = "Orange"; int Number = 78.6; char letter="A"; byte total = 100;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
