Skip to content

Repository files navigation

This is the continuation course of Initial programming in Java. In this course we are specifically focusing on using OOP in Java to make a banking system. Each assignment builds on top of the other starting out with some simple classes and methods. The finished product will be a simple banking system with a GUI and database.

Structure

This repo contains all the marked assignments I've worked on.

About assignments

Assignment 0 (not marked) - Just a test

We just made a hello world program and handed in for our own sake to make sure we know how to hand in our assignments. Nothing special at all.

Image

Assignment 1 - Classes and object

The foundations of our banking application. In short it introduces the very basics of Objet-oriented programming by introducing classes and objects. The classes consists of a Customer class which represents the banks customers, an Account class that represents a bank account, as well as, the BankLogic class consisting of the applications business logic.

Image

No preview/image of the running program provided since the code is only tested using the TestBank.java class that was provided by the teacher. The program is not runnable (yet).

Assignment 2 - Inheritance, polymorphism and class design

This assignment introduces inheritance, polymorphism and class design (UML) as new OOP concepts. Notable for this assignment is that inheritance is used to introduce multiple types of accounts (CreditAccount & SavingsAccount), all of which extends/derives from the Account base class. Additionally a Transactions class is used to keep track of transaction data which is stored in each account object.

Image

No preview/image of the running program provided since the code is only tested using the TestBank.java class that was provided by the teacher. The program is not runnable (yet).

Assignment 3 - Graphical user interfaces

In short the existing program is finally getting a GUI. Thanks to the new GUI the application is now runnable and customers, accounts and transactions may be added. To get a better picture please see the image below.

Image

Assignment 4 - File handling, error handling & databases

Though databases would have been exciting this assignment is limited to simple exporting and importing from .dat files using serialization and de-serialization. In addition to the serialization, account statements may be generated and exception handling is used to avoid fatal errors and crashes.

Image

Progress & grades

Assignments

Assignment Handed in Grade Best possible grade
Assignment 1 VG VG
Assignment 2 VG VG
Assignment 3 G VG
Assignment 4 G VG
Final exam G VG

Final grade

G

About

This repo contains all the work I’ve been doing for D0018D at LTU. The course is an independent course.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages