write a code in jsp to swap two numbers?

Answer Posted / lipu

a,b
a=a+b;
b=a-b,
a=a-b;
write them in scriplet and declaration.

Is This Answer Correct ?    21 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java web application?

464


When do we go for java 8 stream api? Why do we need to use java 8 stream api in our projects?

558


How do I know if I have jre or jdk?

482


What are the risks in java security? : java security

463


If you’re overriding the method equals() of an object, which other method you might also consider?

510






Why doesn’t the main method throw an error with no arguments?

526


How do I find jre version?

468


What is the difference between a jdk and a jvm?

487


What is dto in java?

476


What is the means of java?

466


What are the advantages of lambda functions?

475


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. Define how can I implement this logic?

579


What is cdi bean in java?

521


What are jpa annotations?

474


Does ms edge support java?

465