programmers are always confused with pointers
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.
Java
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..
At any given point of time you cann't get the address of a variables of java program. This is meant for security purpose only.
No. You cannot throw or catch Null pointer exceptions
Java does not have pointers
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.
Java
JVM is a critical component in almost all Java platforms. I would hardly define it as "dangerous".
Becuse there r no use of pointer in java. So we can't think about memory manipulation..............
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..
yes because it's a shark
At any given point of time you cann't get the address of a variables of java program. This is meant for security purpose only.
The Case of the Dangerous Robin - 1960 Java - 1.33 was released on: USA: 29 May 1961
They did consider them dangerous but not always consider them evil.
No. You cannot throw or catch Null pointer exceptions
The Case of the Dangerous Robin - 1960 Java 1-33 was released on: USA: 29 May 1961