can we add two numbers without using arthematic operators?
if possible how?
Answer Posted / anandhakrishnan
import java.io.*;
class add
{
public static void main(String args[])
{
int a = 6;
int b = 3;
System.out.println("sum of a and b is :: "+(a|b));
}
}
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How hashmap works in java?
What is data type in computer?
What is super constructor?
If a method is declared as protected, where may the method be accessed?
Why are pointers not secure?
Is there any tag in htm to upload and download files?
do I need to use synchronized on setvalue(int)? : Java thread
Is it possible for yielded thread to get chance for its execution again ?
How use .contains in java?
Can the interface be final?
Explain about the security aspect of java?
Why do we use variables?
Describe the various concepts related to object oriented programming (oop).
What is a pointer and does java support pointers?
What is a variable analysis?