+ 1

Why C/C++ supports Pointers whereas Java doesn't?

I saw various LinkedList implementation in those some coders use pointer (*) to declare Head/Tail or next/prev node object, and some don't so.

6th Jan 2021, 6:07 AM
Hitesh Suthar
Hitesh Suthar - avatar
1 Answer
+ 2
C and C++ are systems programming languages that need to be more efficient end therefore allow/require manual memory management. Java is a higher level language that manages its memory itself which makes it sometimes a bit easier to write but also slower.
6th Jan 2021, 8:30 AM
Aaron Eberhardt
Aaron Eberhardt - avatar