answersLogoWhite

0

This was a design decision taken by the creators of the Java programming language. Pointers is a C concept that allows access to the system memory to the programmers. This created a lot of chaos and problems and everyone who has ever written a program in the C language will accept that. To avoid this pandoras box of problems, the creators of java decided to not support pointers in the java language.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is pointer in java?

There is no concept similar to pointers in Java. Pointers are a feature in C programming using which a programmer can access the memory. This was the cause of major catastrophic programming bugs. The creators of Java excluded this feature just to avoid such catastrophic bugs.


What you use in case of pointer in java?

Java does not have pointers


In which language pointer concept is not used?

Java


Why do java consider pointer as dangerous?

programmers are always confused with pointers


What does java not support?

Java does not support multiple inheritance.......


Does a DSI have java?

No it does not support Java


Does java support call by reference?

No , Java does not support call by reference.


Does Java support copy constructor?

No. Java does not support copy constructor


How does java support the concept of destructer in java?

In Java, Java does support the concept of destructor, it's done via special method finalize.


Why java is more preferable than c plus plus?

Becuse there r no use of pointer in java. So we can't think about memory manipulation..............


Does the G1's browser support Java and Flash?

No. I have read that it will support Java. I believe that it does not support flash ATM.


Java null pointer exceptions?

A null pointer exception in java comes when you are trying to perform any action on an object that isnt initialized/has a value i.e., is a NULL Value Ex: private String s; //declare a string if(s.equals("test")){ //do something.. } You will get a null pointer in the if condition because you are checking a value that is null which is not allowed..