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 is meant by class?

1005


What are inbuilt functions in java?

1087


What is advantage of java?

1025


What is unmodifiable list in java?

962


What is the difference between compiler and jvm?

1055


What are the types of java languages?

978


What is parse method?

1020


what are Hostile Applets?

2083


Differentiate between vector and array list.

1067


What is array sorting in java?

1060


Why is a string immutable?

1012


I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?

983


How does hashset works in java?

1093


Explain importance of inheritance in java?

1028


What is the byte range?

1034