how to swap to variables without using thrid variable in java?
Answer Posted / hemant verma
a=a^b^(b=a);
Hemant Verma
FameofLight@gmail.com
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Templates mean
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What are the 4 main oop principles?
What is polymorphism and types?
What is the real time example of inheritance?
#include
Can bst contain duplicates?
What are two types of polymorphism?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
What is polymorphism oop?
What is inheritance in oop?
What is balance factor?
What is encapsulation in ict?