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

Can we sort list in java?

613


When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?

576


Are global variables initialized to zero?

518


What is the maximum size of arraylist in java?

502


How do you remove spaces in java?

543






What is included in core java?

589


What is this keyword in java?

571


What are white spaces in java?

539


What is the difference between jdk, jre, and jvm?

578


how to prepare for IT Officers Interview in Banks

1506


What are the difference between composition and inheritance in java?

521


What are strings in physics?

552


How does compareto work in java?

587


How do I print a “?

584


Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.

1518