java.lang.NullPointerException

Coderanch | Shaman Dasuta | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Naming an Object

    Coderanch | 2 years ago | Shaman Dasuta
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at inheritance.Dog.speak()
    2. inheritance
      Zoo.main
      1. inheritance.Dog.speak(Dog.java:20)
      2. inheritance.Zoo.main(Zoo.java:27)
      2 frames