package com.sudhirtheindian2.java123;
public class assignment_operator {
public static void main(String[] args) {
// How to use assignment operator in java
// simple assignment operator
// 1 =
// compound assignment operator
// 2+=
// 3-=
// multiple value increment decrement
int a=10;
// a+=5;// a=a+5=10+5=15
// System.out.println(a);
// a-=2;// a=a-2=10-2=8
// a=a-2;
System.out.println(a);
}
}
Computer Storage Units Converter Computer Storage Units Converter From: Bytes Kilobytes Megabytes Gigabytes Terabytes Value: To: Bytes Kilobytes Megabytes Gigabytes Terabytes Convert
टिप्पणियाँ
एक टिप्पणी भेजें