SCJP5 and SCWCD1.5
Think Twice Act Wise...
SCJP5 and SCWCD1.5
Think Twice Act Wise...
Originally posted by Ganeshkumar cheekati:
int w=q;
q=34;
output is: value of q is:12
value of w is:12
_________________________________
value of q is:34
value of w is:12
while we are assigning one variable to another variable the bits which represents memory location should be copied.
SCJP5 and SCWCD1.5
Think Twice Act Wise...
SCJP5 and SCWCD1.5
Think Twice Act Wise...
SCJP5 and SCWCD1.5
Think Twice Act Wise...
Originally posted by Ganeshkumar cheekati:
hi sekhar.
are you sure?
Is it similar for reference variables also?![]()
SCJP5 and SCWCD1.5
Think Twice Act Wise...
SCJP5 and SCWCD1.5
Think Twice Act Wise...
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Does this tiny ad smell okay to you?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|