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...

can we add two numbers without using arthematic operators?
if possible how?

Answer Posted / satya

Hi we can add two number with out using arithemaic
operators.


just give


int a = 10;
int b = 5;
System.out.println("sum of a and b is :: "+(a|b))

Is This Answer Correct ?    10 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What class allows you to read objects directly from a stream in java programming?

1001


What is assembly language?

933


What is the concept of multithreading?

934


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

1811


What is contract between hashcode and equal method?

984


What is difference between array and vector?

1049


What are the application of stack?

871


Is there any sort function in java?

998


In a container there are 5 components. I want to display the all the components names, how will you do that one?

1003


Why should we use singleton pattern instead of static class?

896


What is meant by class and object in java?

980


Where are variables stored?

923


What is Major and importance difference between for and foreach loop ?

1087


How do you pass by reference?

994


How to reverse a string in java?

1010