without using arthematic operation ,how can you write the
logic for adding/substraction/multiplication?

Answer Posted / sumalatha

By using bitwise operators, we can implement addition,
subtraction and multiplication operations.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a parameter used for?

497


is it possible to instantiate the math class?

507


Why null value is used in string?

510


What are the different types of garbage collectors in java?

522


How can we use primitive data types as objects?

538






What are methods and how are they defined?

582


Why doesn't the java library use a randomized version of quicksort?

519


What is lastindexof in java?

525


what is session in java?

716


What is regex used for?

516


List implementations of list interface?

538


What is finally block?

547


explain the concept of virtual method invocation in polymorphism in detail?

1690


Difference between process and thread?

578


What is a java applet? What is an interface?

607