Click here to Skip to main content
15,914,258 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Seriously? Pin
OriginalGriff15-Sep-16 8:35
mveOriginalGriff15-Sep-16 8:35 
GeneralRe: Seriously? Pin
Vincent Maverick Durano14-Sep-16 5:53
professionalVincent Maverick Durano14-Sep-16 5:53 
GeneralRe: Seriously? Pin
Daniel Wilianto15-Sep-16 16:36
Daniel Wilianto15-Sep-16 16:36 
GeneralRe: Seriously? PinPopular
#realJSOP14-Sep-16 6:25
professional#realJSOP14-Sep-16 6:25 
GeneralRe: Seriously? Pin
Richard MacCutchan14-Sep-16 6:33
mveRichard MacCutchan14-Sep-16 6:33 
GeneralRe: Seriously? Pin
#realJSOP14-Sep-16 6:50
professional#realJSOP14-Sep-16 6:50 
GeneralRe: Seriously? PinPopular
Mark_Wallace14-Sep-16 11:20
Mark_Wallace14-Sep-16 11:20 
GeneralRe: Seriously? Pin
englebart15-Sep-16 3:01
professionalenglebart15-Sep-16 3:01 
That is because Object references in Java work exactly like C pointers. They just removed the address-of(&) and dereference(*) operator from Java so you can't see the addresses.

Java always passes by copy/value even for object "pointers", so you often have copies of copies of copies of "pointers" all referring to the same object/memory allocation.

Alas, Java has no const to protect the data on the end of the pointers.

Java "final" with an Object declaration is only const to the pointer, not the data.

This type of thinking is like breathing to a moderately proficient C programmer.
GeneralRe: Seriously? Pin
Rob Philpott14-Sep-16 6:50
Rob Philpott14-Sep-16 6:50 
GeneralRe: Seriously? Pin
Nelek14-Sep-16 7:44
protectorNelek14-Sep-16 7:44 
GeneralMessage Removed Pin
14-Sep-16 7:00
professionalN_tro_P14-Sep-16 7:00 
GeneralRe: Seriously? Pin
programify14-Sep-16 8:26
professionalprogramify14-Sep-16 8:26 
GeneralRe: Seriously? PinPopular
#realJSOP14-Sep-16 8:44
professional#realJSOP14-Sep-16 8:44 
GeneralRe: Seriously? Pin
Mark_Wallace14-Sep-16 11:41
Mark_Wallace14-Sep-16 11:41 
GeneralRe: Seriously? Pin
Gary Wheeler15-Sep-16 1:48
Gary Wheeler15-Sep-16 1:48 
GeneralRe: Seriously? Pin
Middle Manager15-Sep-16 2:53
Middle Manager15-Sep-16 2:53 
GeneralRe: Seriously? Pin
Mark_Wallace14-Sep-16 11:40
Mark_Wallace14-Sep-16 11:40 
GeneralRe: Seriously? Pin
Rajesh R Subramanian14-Sep-16 13:39
professionalRajesh R Subramanian14-Sep-16 13:39 
GeneralRe: Seriously? Pin
Nathan Minier14-Sep-16 7:03
professionalNathan Minier14-Sep-16 7:03 
GeneralRe: Seriously? Pin
NotPolitcallyCorrect14-Sep-16 7:10
NotPolitcallyCorrect14-Sep-16 7:10 
GeneralRe: Seriously? Pin
Colin Mullikin14-Sep-16 7:21
professionalColin Mullikin14-Sep-16 7:21 
GeneralRe: Seriously? Pin
  Forogar  14-Sep-16 7:58
professional  Forogar  14-Sep-16 7:58 
GeneralRe: Seriously? Pin
Mark_Wallace14-Sep-16 11:44
Mark_Wallace14-Sep-16 11:44 
GeneralRe: Seriously? Pin
  Forogar  14-Sep-16 11:49
professional  Forogar  14-Sep-16 11:49 
GeneralRe: Seriously? Pin
Mark_Wallace14-Sep-16 11:52
Mark_Wallace14-Sep-16 11:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.