Why C/C++ supports Pointers whereas Java doesn't? | Sololearn: Learn to code for FREE!

+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.

1/6/2021 6:07:18 AM

Hitesh Suthar

1 Answer

New 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.