Home Tutorialhelp Allcomments Java Beginners Swapping

 
 

Comments

 
User Comments for the tutorial:

Swapping of two numbers



Total comments: 9      View Tutorial    Discuss: Swapping of two numbers
Advertisement
Comments

assalam alaikum oh thanks this site is gr8 becou
assalam alaikum oh thanks this site is gr8 becouse it help me in solving my assingment thanks alot 

this is incorrect
Actually Java passes method arguments by value. So even though the value has changed in the method, after the return from that method, in the main function, the values of i and j will be the same.  

swapping two numbers with and without temp variabl
Hi roseindia, thanks for the requested solution also please send the code or program to swap two numbers a)with temporary variables b)without temporary variables please kindly send the reply as soo as possible thanking you yours faithfully  

java
well 

c#
it is nice but i want in c# programing language 

Correction in the swapping programme
public class Swapping{ static void swap(int i,int j){ int temp=i; i=j; j=temp; System.out.println("After swapping i = " + i + " j = " + j); } public static void main(String[] args){ int i=1; int j=2; Sys 

subtracting two numbers using addition in java
pls do it for me....... 

subtracting two numbers using addition in java
pls do it for me....... 

give the proper answer
cannot find method println (Java.lang.String) 

Related Tutorial and Articles
Java Beginners

swapping - Java Beginners
swapping   How to swap values of two variable without using third..., Try the following code: class Swapping { public static void main(String... = num1 - num2; num1 = num1 - num2; System.out.println("After swapping, num1 

Java Beginners

swapping - Java Beginners
new to java so plz guys if u kno the answer then plz help me!!!plzzz  Hi Friend, Try the following code: import java.util.*; class Swapping...; num2=num1-num2; num1=num1-num2; System.out.println("After swapping 

Java Beginners

Thanks - Java Beginners
Thanks  Hi, Thanks for reply I m solve this problem   Hi ragini, Thanks for visiting roseindia.net site 

Java Beginners

Thanks for fast reply - Java Beginners
Thanks for fast reply  Thanks for response I am already use html for data grid but i m noot understood how to connect to the data base, and how...   oh well... do not get confused with all that! these are very simple 

Java Beginners

Thanks to Amardeep - Java Beginners
Thanks to Amardeep  i don't know how to thank you Amar! i real thank for what you did' i mean what you did is really my pressure, thanks.... thanks Amardeep. 2hafeni 

Java Beginners

Thanks to Amardeep - Java Beginners
Thanks to Amardeep  i don't know how to thank you Amar! i real thank for what you did' i mean what you did is really my pressure, thanks.... thanks Amardeep. 2hafeni 

Java Beginners

Thanks - Java Beginners
Thanks  Hi, Yur msg box coding is good Thanks  Hi Thanks & Regards 

Java Beginners

Thanks - Java Beginners
Thanks  Hi, thanks This is good ok this is write code but i... either same page or other page. once again thanks    hai... the problem... state it correctly.... thanks and regards prashu 

Java Beginners

Thanks - Java Beginners
Thanks  Thanks Deepak Thankyou so much this is good web application but i m clicking insert button then addform.jsp page is not open plz suggest me   hai friend I think u gave the url is not currect. Check 

Java Beginners

Thanks - Java Beginners
Thanks  Hi, Thanks ur sending url is correct..And fullfill requirement.. I want this.. I have two master table and form vendor... and send me... Thanks once again...for sending scjp link 

Advertisements Advertisements
 

 

 

DMCA.com