Perry Smith

Java Questions & Answers

Home / Java Q & A Page 2 / Java Q & A Archive Main Page

9-27-98

java and pointers

What is the problem with pointers for java and why were the left out of the java language?

alonzo


Response
Re: java and pointers

Obviously, you haven't done much work with pointers .. well, they're a pain to keep track of. That's the problem. Pointers weren't exactly taken out of Java; it's just that direct manipulation of them was obscured. Java still has pointers just as any other language, but you there are no "pointer"-type variables. There is still ample opportunity for you to get in trouble b/c of pointers in Java, though.

MikeD


Home / Java Q & A Page 2 / Java Q & A Archive Main Page