Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

what is assignment in java with example

The Java Assignment Operators are used when you want to assign a value to the 
expression. ... variable = expression;
Example: int a = 6; float b = 6.8F; 
Java also has the facility of chain assignment operators,
where we can specify a single value for multiple variables.
 
PREVIOUS NEXT
Tagged: #assignment #java
ADD COMMENT
Topic
Name
1+7 =