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 are the advantages of lambda functions?
differences between iterator and spliterator in java se 8?
Why java?
What is cookie in java?
In java thread programming, which method is a must implementation for all threads?
What is numberformatexception in java?
What is crud operations in java?
can anyone tell me what kind of questions are asked for core java exam in aptech
What is type inference? Is type inference available in older versions like java 7 and before 7 or it is available only in java se 8?
What is singleton pattern in java?
What is javax annotation generated?
What is the difference between a jdk and a jvm?
What is map and flatmap?
What is jpa entitymanager?
What is a java proxy?