GUVI
Back

doubt in if statement

Created 2 years ago
29 Views
2 Comments
NihaalA
@NihaalA
NihaalA
@NihaalAProfile is locked. Login

public class ControlStatement {

public static void main(String[] args) {

int a=25;

if(a-->a--)

{

{

a='0';

}

}

else

--a;

System.out.print(a);

}

}

in this how does the if section works and can anyone explain how this (a-->a--) become true

Comments (2)
Please login to comment.
 
Powered by habitate.io Habitate