Exercise 7 — Null pointer exceptions One of the most important run-time exceptions is the ‘null pointer exception’. Use the Java documentation to find out what a null pointer exception is, and write a few lines of Java that will generate such an exception. Discussion/Suggested solution to Exercise 7 Back to content 
RITSEC - Global Campus Copyright ?1999 RITSEC- Middlesex University. All rights reserved. webmaster@globalcampus.com.eg |