answersLogoWhite

0


Best Answer

When we talk about instance variables, the default initial value for a numeric variable is always '0'. Any other variable in your code must be initialized before you can use it.

public class MyClass{

public int x; // 0 by default

public float y: // 0 by default

public MyClass{

int z;

z++; // Error 'z' don't have a default value

}

}

User Avatar

Justus Rau

Lvl 10
3y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the initial value of (-1-17) and (-3-15)?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What number has the greatest value 1.7 11.7 117 11.77?

It is: 117


What is the value of x 2x-315?

317


How can you use the initial value theorem to solve for the initial slope of a function?

I suggest: - Take the derivative of the function - Find its initial value, which could be done with the initial value theorem That value is the slope of the original function.


Value of cos 315?

cos 315 degrees is 4th quadrant same as cos (-45) degrees which is +0.7071


Is starting value the same as initial value?

Yes, it is.


What is initial variable?

Variable initialization is the assignment of an initial value to a variable.


What is Initial value of 2147483648?

Given no information about a time scale, or some sort of growth pattern, the initial value is 2147483648.


Is slope the same as initial value?

No, slope and initial value are not the same. The slope refers to the steepness or incline of a line on a graph, whereas the initial value represents the y-coordinate of the point where the line intersects the y-axis.


How many celsious degrees are 117 fahrenhait degrees?

117 deg Fahrenheit (not fahrenhait!) is 47.22... deg Celsius (not celsious!) Both scales are named after their inventor and so should be spelled with a capital initial.


What is the initial value of y2x-3?

5


What is the value of modifiers in coding?

The value of modifiers in coding is the modifier + the initial value they modify


What is the amount of increase or decrease in a function?

The amount of increase or decrease in a function is determined by the difference between the final value and the initial value of the function. If the final value is greater than the initial value, there is an increase; if the final value is less than the initial value, there is a decrease. The magnitude of this difference indicates the extent of the change in the function.