Pointer in JAVA?
@sandeepnair85 (81)
India
January 11, 2007 9:58am CST
Hi everybody. Is it possible that we can create pointers in java just like in C by which we can play with memory.
3 responses
@JollySelva (69)
• India
12 Jan 07
hi, java does not support pointers.for giving high level of SECURITY ,java does not support it.because with the help of pointers, we can play with memory.

@mail4kaja (71)
• India
12 Jan 07
Yes, Java gives security. It won't allow us to access the memory directly. But, this is the drawback of Java and we can't do efficient system-side programming.
1 person likes this

@dholey (1383)
• India
11 Jan 07
java is off shoot of c and c++ but few unwanted things are removed from it like the keyword goto, but pointer is removed because it was created created for platform independence as well as it has to be used in network, so the programmer can misuse the power of pointer (like in c and c++ using tsr people created viruses instead of taking advantages it's gone worse) so the scope for the misuse is removed by not providing pointres but java has internal pointers, but programmer can not create pointers in java...
@mail4kaja (71)
• India
12 Jan 07
In my point of view, Java can be used only for application development and network programming to some extent with some RMI and other similar concepts. But, I don't prefer Java as I requires more memory than C. Also, C is more efficient when compared to Java.
@arpita_onlinejob (508)
• India
11 Jan 07
it is not possible to create pointers as java is object oriented we handle data as objects. each object has its own constructor through which we allocate memory. so we dont require pointors. concepts like pointers and go to statments are discarded from java to reduce errors
