What does the line of the code do? temp=!temp;
Answers
Answered by
2
please write full code
Answered by
2
Answer:
I really don't know what you are trying to ask.
It is, according to me, in Java,
temp!=temp
!= means 'is not equal to', and is mainly used to show boolean expressions.
Here, temp must be a local or a global variable. There is no library that has a built-in variable 'temp' in Java.
The question you asked 'temp=!temp' can be taken in another manner.
'temp' must be one assigned variable to the another variable ' !temp '.
Hope this helps. If not, please share the full code next time.
Similar questions