answersLogoWhite

0

No! Not at all!

For example, the integer (int) named 'y' should be added to integer 'z' and stored into the variable 'x.' See the following:

int y = 5;

int z = 3;

int x = 5 + 8;

Note that you must add AFTER the involved variables are stored, or else 'x' will be zero.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Which math function is used to find the square root of a number using java?

Math.sqrt(number) function is used to find the square root of a number.. try it


What is a function table?

a function table is a table used to find number pairs


Why args0 is used in IntegerparseInt in Java?

It is the default argument name for all Java BIF (Built-In Function)s.


The MIN function is used to determine the highest number in a range.?

MIN is used to find the lowest number in a range. You would use MAX or LARGE to find the highest number in a range.


What are the keywords not used in java?

You can find a list of Java keywords in the Wikipedia article "List of Java keywords". These keywords may not be used for variables or other user-defined names.


What does a void method do?

In Java, this keyword is used to specify that the method has no return value.


How to you hold a random number for next deal in java?

Random numbers can be generated using the Math.random() function. For example, the following statements is used to create a random number 0 and 34. int random= (int)(Math.random()*34);


What is the function of this in java?

this in java is a keyword that refers to the current object of the class. It is also used in constructor overloading when you want to invoke one constructor from another within the same class.


Java or php which technology should be used as a back-end of adobe flex for designing large web based software to work at its best and why?

Java is not a database to be used as a back end for an application. Java can interface between your UI layer and the database but it cannot function as a database.


What is meant by the term SetTimeOut?

SetTimeOut is a term that is used in Java programming. It refers to the time it takes for a function in a program to time out or stop. SetTimeOut is a vital function.


To calculate odd and even parities which functions can be used?

could you be clear? what kind of functions you are asking? functions available in C, C++, java ? in C you can use mod() function or "%" operator to find the parities.


How is the MIN function used to determine the highest number in a range?

The MIN function is the function that you would use to find the lowest value in a set. You could also use the SMALL function, but that is more when you are looking for a value other than the lowest, such as the second lowest or third lowest. That is specified by a number at the end. Both of the following will find the lowest value in the range of A2 to A16: =MIN(A2:A16) =SMALL(A2:A16,1)