
im noob to Programming Please look into the following code.while running the code it gave me some nullpointer exception

im noob to Programming Please look into the following code.while running the code it gave me some nullpointer exception
Copyright © 2021 Jogjafile Inc.
you never call
establishConnectionin yourDaoclass. As result of thisconis null.add the method
establishConnectionin theconstructorofpersonDao:and try it again.
Furthermore read the
Java code conventions. A class name should start with uppercase:PersonDaowould by correct and it follows theCamelcasecode conventions.