Answer Posted / p.a.v.k.prasad
Swapping the two nubers without using third variable.
int a,b;
b=a+b;
b=a-b;
a=a-b;
try it.
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
What if I do not provide the string array as the argument to the method?
How do I run a project in netbeans?
What's the difference between local, global and universal groups? : java security
Do I need jdk or jre?
How can I protect myself? : java security
Is openjdk the same as jdk?
What is a controller in java?
How do I run a project in eclipse?
What is predicate in lambda expression?
What happens when the parent process of a child process exits before the child ?
What is dao in java?
What is java api?
What is hql in java?
Explain the encapsulation principle.
What is cookie in java?