Skip to content

zyq-m/calculate-salary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About The Project

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.

Tools and Technologies

During the development process I've used:

  • Java
  • Netbeans IDE
  • OOP Principles
  • Java Swing GUI

Installation

  1. Install Netbeans
  2. Clone or download this repository
  3. Open the project in your Netbeans IDE

Problems During Development Process

1. Null pointer exception

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>();

2. Push code to GitHub

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.

Connect with Me

Acknowlegements

About

A program to calculate employee's salary

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages