Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to swap to variables without using thrid variable in java?

Answer Posted / sibaram

int a=5;
int b=6;
b=a*b/(a=b);

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give two or more real cenario of virtual function and vertual object

2329


What is an advantage of polymorphism?

1097


How do you define social class?

1071


What does enum stand for?

1126


Is data hiding and abstraction same?

1048


what is the sylabus for priliminaries?

2181


How many human genes are polymorphic?

1067


Can a destructor be called directly?

1076


Which method cannot be overridden?

1100


Why do we use polymorphism in oops?

1055


Why oops is important?

1126


What is the difference between a mixin and inheritance?

992


Why do we use inheritance?

1136


2. Give the different notations for the class.\

2166


What is abstraction and encapsulation?

1022