We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85e4b02 commit 7bd639eCopy full SHA for 7bd639e
src/Operators/AssignmentOperator.java
@@ -9,4 +9,22 @@ public static void main(String args[]){
9
System.out.println(a);
10
System.out.println(b);
11
}
12
+ public static void Example2(String[] args){
13
+ int a=10;
14
+ a+=3;//10+3
15
+ System.out.println(a);
16
+ a-=4;//13-4
17
18
+ a*=2;//9*2
19
20
+ a/=2;//18/2
21
22
+ }
23
+ public static void AddingSort(String args[]){
24
+ short a=10;
25
+ short b=10;
26
+ //a+=b;//a=a+b internally so fine
27
+ //a=a+b;//Compile time error because 10+10=20 now int
28
29
30
0 commit comments