0

why didn't java support Pointers?

28th Dec 2017, 6:06 PM
Ramarao Nadakuditi
Ramarao Nadakuditi - avatar
4 odpowiedzi
+ 1
I thought this was pointing in java or is it just referencing i always think point too makes it easier for me? new program x = new program(); x.method(1,2); /\ | | Here
28th Dec 2017, 7:56 PM
D_Stark
D_Stark - avatar
0
See Java tutorial->classes and objects->value and reference types. Reference types are like pointers. Arrays are like pointers. Any language that does data structures must support pointers. So, what do you mean?
28th Dec 2017, 6:32 PM
H Chiang
0
thanks
29th Dec 2017, 4:57 AM
Ramarao Nadakuditi
Ramarao Nadakuditi - avatar