Calculate Salary is a program to calculate employee's salary; gross salary and net salary. This project is build on top of Java and implementing Object Oriented Programming (OOP) principles.
During the development process I've used:
- Java
- Netbeans IDE
- OOP Principles
- Java Swing GUI
- Install Netbeans
- Clone or download this repository
- Open the project in your Netbeans IDE
During the development process, I got this error message java.lang.NullPointerException
multiple times. This because I forgot to specify the array size.
I've used ArrayList
instead of traditional array because I can't predict how many employee object should be stored in an array.
private ArrayList<Employee> employees = new ArrayList<Employee>();
It is my first time push the code through Netbeans IDE. Unlike in VScode I can push through terminal and I find it easy to use. The problem is Netbeans didn't authorized my github account. I've been searching through Internet and found this solution.
- Email: haziq.musa02@gmail.com