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

Answer Posted / madhusmita pal

using logical operator AND(^)OR(||)and XOR(-).

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's the default access specifier for variables and methods of a class?

518


What is a buffer in java?

576


What is the public field modifier?

545


Give me some null interfaces in java?

607


What is the purpose of void?

540






Why is java not 100% pure oops?

622


How many types of memory areas are allocated by jvm?

564


What is the use of put method?

518


Is there any difference between nested classes and inner classes?

542


What is the difference between the paint() and repaint() methods?

589


What is autoboxing in java?

612


What is a protected class in java?

544


Explain the difference between abstract classes and interfaces in java?

601


What defines function?

542


What is a superclass?

929