The Java Programming Document
19 Pages2557 Words43 Views
Added on 2020-02-24
The Java Programming Document
Added on 2020-02-24
ShareRelated Documents
Running head: THE JAVA PROGRAMMING OF XYZ CAR PARKING SYSTEM
The Java Programming of XYZ Car Parking System
Name of the Student
Name of the University
The Java Programming of XYZ Car Parking System
Name of the Student
Name of the University
THE JAVA PROGRAMMING OF XYZ CAR PARKING SYSTEM1
Table of Contents
1. Introduction:................................................................................................................................2
1.1 Background of the System:....................................................................................................2
2. Coding:........................................................................................................................................2
2.1 Customer.java:.......................................................................................................................2
2.2 Ticket.java:............................................................................................................................5
2.3 Payment.java:.......................................................................................................................10
3. Description of Developed Component:.....................................................................................11
4. Conclusion:................................................................................................................................16
Bibliography:.................................................................................................................................17
Table of Contents
1. Introduction:................................................................................................................................2
1.1 Background of the System:....................................................................................................2
2. Coding:........................................................................................................................................2
2.1 Customer.java:.......................................................................................................................2
2.2 Ticket.java:............................................................................................................................5
2.3 Payment.java:.......................................................................................................................10
3. Description of Developed Component:.....................................................................................11
4. Conclusion:................................................................................................................................16
Bibliography:.................................................................................................................................17
THE JAVA PROGRAMMING OF XYZ CAR PARKING SYSTEM2
1. Introduction:
The java programming language has been selected for developing the prototype of the
XYZ car parking system. The java Programming is the object oriented modelling that allows
making a code dynamic and data handling better. Overloading of methods has been used within
the programming. The programming does not cover all the aspects of the system as in order to
that IoT is needed. The prototype version of the system provides proper understating of the
system functionalities.
1.1 Background of the System:
The system will be consisting of two types of customers such as ordinary and season. The
ordinary customer purchases a ticket for only one day. The season customer buys a ticket for a
certain months, three, six or twelve months. The season ticket holder also gets assigned a parking
area which is reserved for him/her. The spaces are available for the weekdays. The allocated
spaces becomes free to use for every customer in weekends.
The tickets are generated based on the type of the customers. The season ticket holds the
name of the user, address and it is valid for three, six or twelve months. Issue data and expiry
date is recorded into the system. For the ordinary ticket, only the date and time of issuing is
recorded.
The payment can be through card or cash. The java programming has not been able to
show the proper process of payment as IoT is needed to show that.
1. Introduction:
The java programming language has been selected for developing the prototype of the
XYZ car parking system. The java Programming is the object oriented modelling that allows
making a code dynamic and data handling better. Overloading of methods has been used within
the programming. The programming does not cover all the aspects of the system as in order to
that IoT is needed. The prototype version of the system provides proper understating of the
system functionalities.
1.1 Background of the System:
The system will be consisting of two types of customers such as ordinary and season. The
ordinary customer purchases a ticket for only one day. The season customer buys a ticket for a
certain months, three, six or twelve months. The season ticket holder also gets assigned a parking
area which is reserved for him/her. The spaces are available for the weekdays. The allocated
spaces becomes free to use for every customer in weekends.
The tickets are generated based on the type of the customers. The season ticket holds the
name of the user, address and it is valid for three, six or twelve months. Issue data and expiry
date is recorded into the system. For the ordinary ticket, only the date and time of issuing is
recorded.
The payment can be through card or cash. The java programming has not been able to
show the proper process of payment as IoT is needed to show that.
THE JAVA PROGRAMMING OF XYZ CAR PARKING SYSTEM3
2. Coding:
2.1 Customer.java:
import java.util.Scanner;
public class Customer {
public static String rname;
public static String nm;
int cid, id, contact;
String name, address, email;
Customer(int cid, String name, String address, String email, int contact){
this.cid=cid;
this.name=name;
this.address=address;
this.email=email;
this.contact=contact;
}
void Display(){
System.out.println("Customer Details\n" + "name: " + name + " " +
"address: " +address + " " + "email: " + email + " " + "contact: " + contact);
}
2. Coding:
2.1 Customer.java:
import java.util.Scanner;
public class Customer {
public static String rname;
public static String nm;
int cid, id, contact;
String name, address, email;
Customer(int cid, String name, String address, String email, int contact){
this.cid=cid;
this.name=name;
this.address=address;
this.email=email;
this.contact=contact;
}
void Display(){
System.out.println("Customer Details\n" + "name: " + name + " " +
"address: " +address + " " + "email: " + email + " " + "contact: " + contact);
}
End of preview
Want to access all the pages? Upload your documents or become a member.
Related Documents
Java Programming Assessment of the COLLIN'S Car Parking Systemlg...
|18
|2592
|357
Java Programming Assignments with Solutionslg...
|9
|904
|164
Object Oriented Programming with Javalg...
|9
|1142
|153
Fundamentals of Operating Systems and Java Programminglg...
|14
|763
|260
Vehicle Data Inventory Systemlg...
|18
|2151
|53
Programming in Java Assignmentlg...
|15
|2137
|33