+ 14
Is it java support pointer?
If not what is null pointer exception?
4 Respuestas
+ 4
java does't support pointers
because usage of pointer leads illegal access of data i.e pointers show the exact address of the data and using this address any modifications can be made to info stored leading to lack of security, but java is a secured language and prides itself of being robust thats the reason pointers concept was removed from java.
+ 3
no,java doesn't support pointers because they don't have the duplication of data.
+ 2
no, java does not supports pointer.
JAVA does not provide access to the storage info and any alternations in the storage info.
+ 1
Java is a statically typed language. In Java all the basic types like int, float are
value types and classes are all reference types. Although it provides builtin classes like Int, Float which you can use to manipulate pointers.