Hey all,
I hope everyone is doing well. I recommend watching lots of MST3K for lots of uncontrollable lols.
Anyways apparently this is an incorrect statement:
This is also an incorrect statement:
The first one seems like it should be correct because primitive variables can be incremented and decremented with ++ and -- operators etc.
The second one seems like it should be correct because a primitive variable like int x is designed to hold different values like 1 or 1000 or 100_000 or any thing in its range.
What am I missing?
Really Confused,
Ted
I hope everyone is doing well. I recommend watching lots of MST3K for lots of uncontrollable lols.
Anyways apparently this is an incorrect statement:
Once assigned, the value of a primitive can't be modified.
This is also an incorrect statement:
A value can't be assigned to a primitive variable
The first one seems like it should be correct because primitive variables can be incremented and decremented with ++ and -- operators etc.
The second one seems like it should be correct because a primitive variable like int x is designed to hold different values like 1 or 1000 or 100_000 or any thing in its range.
What am I missing?
Really Confused,
Ted