natakl natakl
  • 07-02-2022
  • Computers and Technology
contestada

What’s the difference between var and val?

Respuesta :

ftanha2311
ftanha2311 ftanha2311
  • 07-02-2022

Answer:

Answer in the below {plz mark me as brainlist:)}

Explanation:

The difference between val and var is that val makes a variable immutable — like final in Java — and var makes a variable mutable. Because val fields can't vary, some people refer to them as values rather than variables.

Answer Link

Otras preguntas

What is 12 divided by 8 as a fraction ( please explain)
every living thing needs a set of instructions that are necessary to live and grow. Where are these instructions found?
In which of the following phrases does Lincoln express ideas opposing slavery in the US? A. "dedicated to the proposition that all men are created equal" B. "te
The temperature of a sample of water increases from 20°c to 46.6°c as it absorbs 5650 calories of heat what is the mass of the sample?
A health insurance payment of 34.55 was deducted fromms Donaldsons earnings for the week. after the insurance deduction payroll taxes equal to 28% of the balanc
what did john white think the great fire was
there are 56 students going to the game.the coach puts 7 students in each van. which number sentence can be used to find how many vans are needed to take the st
The Greek combining form hepta- means _____. five seven six eight
how did the civil rights movement gain grounds in the 1960s
Objects and substances in motion is I