DEVFYI - Developer Resource - FYI

Why Java does not support pointers?

Java Interview Questions and Answers (part 1)


(Continued from previous question...)

135. Why Java does not support pointers?

Because pointers are unsafe. Java uses reference types to hide pointers and programmers feel easier to deal with reference types without pointers. This is why Java and C-sharp shine.

(Continued on next question...)

Other Interview Questions