Variable and Constant in JAVA with practical explanation | Explain Basic Rules

Published: 11 February 2025
on channel: Based On SKILLS
9
2

In this video you will learn about :
*Variable in java
*Basic rules how we declared variable in java
*Constant in java
*Basic rules how we declared Constant in Java
Variable (Question with Ans)
int age = 25; // Valid
int _number = 100; // Valid
int $value = 50; // Valid
int 1number = 10; // Invalid: Starts with a number
int total Marks = 90; // Invalid: Contains a space
int class = 5; // Invalid: Uses a reserved keyword
*If you like my effort then plz like , share , comment and Subscribe to my channel @learnwithhafiza-oq3fc


On this page of the site you can watch the video online Variable and Constant in JAVA with practical explanation | Explain Basic Rules with a duration of hours minute second in good quality, which was uploaded by the user Based On SKILLS 11 February 2025, share the link with friends and acquaintances, this video has already been watched 9 times on youtube and it was liked by 2 viewers. Enjoy your viewing!