answersLogoWhite

0


Best Answer

Though Java, unlike other languages, does not allow you to directly access the core, memory addresses and system variables, it does have binary operators, such as the shifters >>, <<, and the bitwise operators, |, &, ^. Using these operators, ALL calculations in the computer can be done, even your complicated trig functions.

Though options are limited in Java, it does provide a simulated access to low level operations.

The bitwise operators are in the link below.

Look at the link below to see how the computer really does math.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How-to to add to values in java core without using plus operator?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you define power function without using operator?

using pow() function.. ..


Check whether two values or equal or not without using if?

// prob not what you are looking for since it just eliminates the if statement but // is still using a boolean operator bool areEqual = (value1 0); You might want to clarify the question. Can you use boolean operators? I don't know how you can get around that.


How do you write find out the power of a number without using operator and predefined functions?

With repeated multiplication.


How can you say i without using it as a capital?

If you are using it to describe values in a mathematical formula, it wouldn't be a capital.


What is the definition qualitative graph?

a graph where a function is described without using specific values


How you can find a factorial of a number without using multiple operator?

If you really wanted to do this, you could simulate multiplication with repeated addition.


How pointer is declared using address operator?

int *ptr; PS: I don't know what do you mean by 'using address operator'


How do you compare two numbers without using any operators in c?

You cannot compare 2 numbers without using relational operators. Certainly, you could subtract them, but you still need to test the result, and that is a relational operator in itself.


How do you find and return the minimum and maximum of two values using macrosand ternary operator?

#define MIN(x,y) ((x&lt;y)?x:y) #define MAX(x,y) ((x&gt;y)?x:y)


How do you make a function table for y equals -4x2?

Choose some values for x. Then calculate the corresponding values of y using the formula. Put these values in a table.Choose some values for x. Then calculate the corresponding values of y using the formula. Put these values in a table.Choose some values for x. Then calculate the corresponding values of y using the formula. Put these values in a table.Choose some values for x. Then calculate the corresponding values of y using the formula. Put these values in a table.


How do you find the greatest of three numbers using ternery operator?

Compare the first two numbers with the ternary operator. Store the result in a temporary variable. Compare the temporary variable with the third number, again using the ternary operator.


How a program in c that will add 2 numbers without using any operator?

Not possible. Let's not forget than in C the followings are all operators:+, -+=, -=++, --=&, *, []function-call