Prject Report-Converted Java
Prject Report-Converted Java
At
BACHELOR OF TECHNOLOGY
JUNE-JULY, 2019
I “AMANDEEP SINGH” declare that I have undertaken 6 weeks training in of Java Core
Programming Language at Aptech Institute , Ludhiana during a period from 07 June to 21 July
engineering. The work which is being presented in the training report submitted to department
Signature of student:
and accepted.
I “AJIT SINGH” declare that I have undertaken 6 weeks training in of Java Core Programming
Language at Aptech Learning Institute , Ludhiana during a period from 07 June to 21 July in
engineering. The work which is being presented in the training report submitted to department
Signature of student:
and accepted.
Today this modern era is world of technology and we cannot achieve anything in this field
until or unless theoretical education acquired in classroom is effectively wedded to its practical
approach. Doing six weeks training at Aptech Learning Institute, Ludhiana helps me in better
understanding and implementation of theoretical knowledge that I gained. During This period I
have studied various concepts about java programming language. I learned java language
which is integral part of designing applications. We studied about the desktop applications
both theoretical as well as practical and also learned the programming and how to create a
desktop application.
ACKNOWLEDGEMENT
We are highly grateful to Dr. Sehajpal Singh, Director, GNDEC, Ludhiana, for providing us
this opportunity to carry out six week training at Aptech Institute, Ludhiana. We express
We would like to express our deep sense of gratitude and thank profusely to Abhishek Kumar
at Aptech Learning Institute who instructed us and assisted us during the training period. We
also thanks to the programming department for provision of excellent all the latest equipment’s
and resources for us to utilize. Training here was itself true learning experience which is going
Aptech Learning is the pioneer in education & skill-building since 1986 across various
industries & countries. Join Aptech Learning to kick-start your career with industry-relevant
curriculum for developing in-demand skills, and get prepared for job opportunities in top
companies.
Certificate by Company/Industry/Institute i
Candidate’s Declaration ii
Abstract iii
Acknowledgement vi
About the institute v
List of Figures vi
The Java Runtime Environment (JRE) is part of Java Development Kit (JDK).it contains set
of libraries and tools for developing java applications.The Java Runtime Environment
JVM is a set of programs developed by sun micro systems and supplied as a part of JDK for
reading line by line of byte code and it converts into native understanding form of operating
system. Java language is one of the compiled and interpreted programming language.
Features of a language are nothing but the set of services or facilities provided by the language
Simple: Java has made life easier by removing all the complexities such as pointers, operator
1
Portable: Java is platform independent which means that any application written on one platform
Object-oriented: Everything is considered to be an Object which posses some state, behavior and
Secured: All the code is converted in bytecode after compilation, which is not readable by a
human and java does not use an explict pointer. It enables to develop virus-free, tamper-free
system/applications.
Dynamic: It has ability to adapt to an evolving environment which supports dynamic memory
allocation due to which memory wastage is reduced and performance of the application is
increased.
Distributed: Java provides a feature which helps to create distributed applications. Using
remote method invocation (RMI), a program can invoke a method of another program across a
network and get the output. You can access files by calling methods from any machine on
internet.
Robust: Java has strong memory management system. It helps in eliminating error as it checks
High Performance: Java achives high performance through the use of byte code which can
be easily translated into native machine code. With the use of JIT compiler, java enable high
performace.
Interpreted: Java is compiled to bytecodes, which are interpreted by a java run-time environment.
Object is the physical as well as logical entity where as class is the only logical entity.
Class: Class is a blue print which is containing only list of variables and methods and no
memory is allocated to them. A class is a group of objects that has common properties.
1. Data Member
2. Method
3. Constructor
4. Block
Object: Object is an instance of class, object has state and behaviours. An object in Java has
three characteristics:
3. Identity: Object identity is implemented via unique ID. The value ID is not visible to
external user. But, it used internally by the JVM to identify the each object uniquely.
1.4 Data Types
Data Type is a special keyword used to allocate memory space for the data, n other words
data types is used for representing the data in main memory (RAM) of the computer.
Variable is an identifier which hold data or another one variable is an identifier whose value
can be changed at the execution time of program. Variable is an identifier which can be used
It ia a special symbols performing operation on one, two or three operands and then
returning a result. Java operators are generally classified into different categories:
1. Arithmetic Operator
2. Assignment Operator
3. Relational Operator
4. logical Operator
5. Bitwise operator
Structure of Java program is the standard format released by language developer to the
industry programmer. Sun Micro System has prescribed the following structure for the Java
Decision making statements are also called section statements. That is depending upon
“true”statement block will executed. If condition is “false” then statement block will not be
1. if
2. if-else
3. switch
Looping Statements are the statements execute one or more statement repeatedly several
1. for loop
2. while loop
3. do while
The purpose of wrapper class is to convert numeric string data into numerical or fundamental data.
1.6.5Access Modifiers
Access modifiers are those which are applied before data members or methods of class. These
are used to where to access and where not to access data members or methods. In Java
1. Private
2. Protected
3. Public
A constructor in Java is special method that is used to initialize objects. The constructor is
1.7.1 Inheritance
The process of obtaining the data members and methods from one class to another class is
known as inheritance. It is one of the fundamental features of object-oriented programming.
1. Single inheritance
2. Multiple inheritance
3. Heirarchical inheritance
4. Multilevel inheritance
5. Hybrid inheritance
2. Its main uses are to enable polymorphism and to able to reuse code for different classes by
3. For re-usability.
1.8 Method Overloading
Whenever same method name is existing multiple times in the Same class with different
as method overloading.
When ever same method name is existing in both base class and derived class with same types
The main objective of Java project on billing system is to manage the details of the bills, customer
payments, transactions, logins. It manages all the information about the bills, transaction history
login bills. The project is totally build at administrative end and thus only the administrator is
guaranteed the access. The purpose of the project is to build application program to reduce the
manual work for managing bills,customers, transactions history, payments. It tracks all the details
1. Provide the searching facilities based on various factors, such as bills, payments,
transactions, login.
2. College management system also sells the employee details online for the student details,
3. It track all the information about the customer transaction history, transaction ect.
9. Editing, adding, and updating of the report is improved which result in proper resource
1. In this project excel export has not been developed for readings, connections due to some
criticality.
3. Online data for bills, customers capture and modifications is not possible.
4. Off-line reports of bills, units, consumptions cannot be generated due to batch mode
execution.
1. It can be used by administrations of various departments for billing and receipt generation.
2. It can be used by users for paying bills by using their login credentials.
3. It can be used by the people which have knowledge of data entry and using the computer.
2.5 Equipements and apparatus required
1. Laptops/Computer
4. Printer
2.6 Methodology
2. In this J frame form namely Login page is formed and then three buttons are placed in this
design
3. Further if it satisfies the condition of logging in (i.e. username and password matched) then
a new frame (login2) is called otherwise the new frame (login1) is called.
4. Then if login successfully it shows 4 buttons namely Recharge, Electricity bill ,Water bill
and logout.
6. For e.g if we click on Electricity bill then after filling the details it will show the receipt
7. After that we can print the receipt by clicking the print receipt button which is further
connected by printer.
NetBeans is an open-source integrated development environment (IDE) for developing with Java,
PHP, C++, and other programming languages. NetBeans is also referred to as a platform of
modular components used for developing Java desktop applications. NetBeans is coded in Java and
runs on most operating systems with a Java Virtual Machine (JVM), including Solaris, Mac OS,
and Linux.
1. User settings
4. Storage
6. Framework wizard
NetBeans dynamically installs modules and allows users to download updated features.
programming, along with the JVM (Java Virtual Machine) and the JRE (Java Runtime
1. The JVM is the Java platform component that executes programs.The JRE is the on-disk
2. The JDK allows developers to create Java programs that can be executed and run by the
Developers new to Java often confuse the Java Development Kit and the Java Runtime
Environment. The distinction is that the JDK is a package of tools for developing Java-based
software, whereas the JRE is a package of tools for running Java code.
The JRE can be used as a standalone component to simply run Java programs, but it's also part of
the JDK. The JDK requires a JRE because running Java programs is part of developing them.
respective button. For e.g. if we want to pay water bill click on water bill button and a window will
Step4: Then click on receipt button it will display the receipt of bill:
fig. 3.25 Testing of get receipt
Step5: If we want to get receipt then click on print receipt and then you get print
options and then you get a final receipt of bill.
4.1 Conclusion
We have explode the practicality of doing coding in java. Java can be compiled to the code of
A software system to modernize the billing procedure is required. This project would
replace existing traditional type of billing system and would also ensure ease and comfort in
billing. This project would consume less time, less employees required as compared to traditional
system. Customers will get receipt at the instant the bill is paid that would be useful in future for
maintaining records.
4.2 Future Scope
1. This project will help the store keeper, administration etc.in fast billing.
3. With some advancements, we can make this project to able that user can pay bill and
recharge manually.
Refrences :-
1. https://www.javatpoint.com/java-tutorial
2. https://www.w3schools.com/java/
3. https://en.wikipedia.org/wiki/Java_(programming_language)
4. https://www.geeksforgeeks.org/java/
5. https://www.edureka.co/blog/java-tutorial/