Why Java is not supporting the Pointer Concept...?

satya5321's Avatar
Banned
Why Java is not supporting the Pointer Concept...?
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Because its not needed and the pointer is a problematic area even for a very experienced developer.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Offtopic comment:
Also by the way your signature was violating the Rules and guidelines of the forums because you cannot have the font size what you had and it has been edited to the max possible font.
0
bibek1986's Avatar, Join Date: Nov 2007
Newbie Member
Java is supporting pointers internally but it is not visible to the programmer .so as to avoid complexity and to persist security.

Class1 obj=new Class1();

Every time u create an object internally it is manipulated using pointers but the programmer is to made to access directly rather though the object name "obj"
0
satya5321's Avatar
Banned
Ok Thanks Shabbir.
0
alapick's Avatar, Join Date: Jun 2006
Newbie Member
Because java is multiplatform language.
0
shyam_oec's Avatar, Join Date: Nov 2007
Contributor
Quote:
Originally Posted by satya5321
Why Java is not supporting the Pointer Concept...?
first thing,it's multiplatform i.e the same bytecode is going to work well in all systems so it has to be pointer independent,secondly java is basically for internet.data sent from one system should not access through it's memory address,though it happens but temporarily.