filmov
tv
What is NullPointerException In Java Core Java Interview Question And Answer

Показать описание
NullPointerException in Java Explain ?
*
* comes when a member of an object either field or method is called on a object which is null.
2."null" is a keyword in Java which means nothing and calling method on Object whose value is
null will result in NullPointerException.
3.Since default value of Object is null, if you call any method or access any field on an Object
which is not initialized will throw NullPointerException.
A Job Portal
Other Top Job Portals
Are you looking for a new Job ?