+ 14

Is it java support pointer?

If not what is null pointer exception?

7th Aug 2018, 2:44 AM
Unknown
4 Answers
+ 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.
7th Aug 2018, 5:07 AM
PRAMOD JANA
PRAMOD JANA - avatar
+ 3
no,java doesn't support pointers because they don't have the duplication of data.
7th Aug 2018, 11:49 PM
Chiranjeevi Chiranjeevi .giddi
Chiranjeevi Chiranjeevi .giddi - avatar
+ 2
no, java does not supports pointer. JAVA does not provide access to the storage info and any alternations in the storage info.
8th Aug 2018, 4:25 AM
Nitesh Kumar Pandey
Nitesh Kumar Pandey - avatar
+ 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.
8th Aug 2018, 2:38 PM
Rajat kumar
Rajat kumar - avatar