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 an interface in java?

1088


What is an immutable class? How to create an immutable class?

1115


What is argument in java?

1055


What is parsing in java?

1013


Can we instantiate interface in java?

1186


What is string buffer?

993


What are the different types of garbage collectors in java?

1204


How to stop a thread in java? Explain about sleep () method in a thread?

1064


What is a singleton puppy?

1040


What happens if we override only equals?

1013


What is the major difference between linkedlist and arraylist?

1118


What is this () in java?

1082


What is function overriding and overloading in java?

1171


why not override thread to make a runnable? : Java thread

1059


Why chararray() is preferred over string to store the password?

1066