Everything You Have To Know About Java
package ArithmeticOperations; public class Decrement { void start() { int sum = 1; sum--; } public static void main(String[] args) { new Decrement().start(); } }
value of sum will be: 0
© 2024 Learn Java Coding