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
Why dependency injection is used in java?
What happens when you omit a brace or misspell one of the words, like public or
What is jndi datasource in java?
What is data encapsulation?
What is the difference between java se and java ee?
Explain suspend() method under thread class>
Why do we only use the main method to start a program?
Explain the encapsulation principle.
Is openjdk the same as jdk?
What is mdb in java?
What is injection in java?
What is the java api?
What is property file in java?
How do you count in java?
Why struts framework is used in java?