Summer Internship Report1
Summer Internship Report1
Java Development
16/05/2022-15/07/2022
Submitted by:
Aman Kumar Dipti
1904098
ECE2
CONTENTS
ACKNOWLEDGEMENT
CERTIFICATE
INTRODUCTIONS
PROJECT
JAVA INTRODUCTION
HISTORY OF JAVA
FEATURE OF JAVA
IMPEMENTATION
CONCLUSION
1.Acknowledgement
I am very happy to complete my Internship .I could not have done it
right without giving due credit to all the people who have proven to be
your tireless support and mentor.
First I would like to thank Mrs Seema Singh head of IT, of New Delhi.for
giving me the opportunity to do an internship within the organization.
I also would like all the people that worked along with me New Delhi
with their patience and openness they created an enjoyable working
environment.
In 1997, Sun Microsystems approached the ISO standards body and later
formalized Java, but it soon withdrew from the process. At one time, Sun
made most of its Java implementations available without charge, despite
their proprietary software status. Sun generated revenue from Java
through the selling of licenses for specialized products such as the Java
Enterprise System.
On November 13, 2006, Sun released much of its Java virtual machine as
free, open-source software. On May 8, 2007, Sun finished the process,
making all of its JVM’s core code available under open-source
distribution terms.
The principles for creating java were simple, robust, secured, high
performance, portable, multi-threaded, interpreted, dynamic, etc. In
1995 Java was developed by James Gosling, who is known as the Father
of Java. Currently, Java is used in mobile devices, internet programming,
games, e-business, etc.
Feature of Java
1. Platform Independent: Compiler converts source code to
bytecode and then the JVM executes the bytecode
generated by the compiler. This bytecode can run on any
platform be it Windows, Linux, or macOS which means if we
compile a program on Windows, then we can run it on Linux
and vice versa. Each operating system has a different JVM,
but the output produced by all the OS is the same after the
execution of bytecode. That is why we call java a platform-
independent language.
2. Object-Oriented Programming Language: Organizing the
program in the terms of collection of objects is a way of object-
oriented programming, each of which represents an instance of
the class.
The four main concepts of Object-Oriented programming are:
• Abstraction
• Encapsulation
• Inheritance
• Polymorphism
3. Simple: Java is one of the simple languages as it does not
have complex features like pointers, operator overloading,
multiple inheritances, and Explicit memory allocation.
4. Robust: Java language is robust which means reliable. It is
developed in such a way that it puts a lot of effort into checking
errors as early as possible, that is why the java compiler is able
to detect even those errors that are not easy to detect by
another programming language. The main features of java that
make it robust are garbage collection, Exception Handling, and
memory allocation.
Encapsulation
It is defined as the wrapping up of data under a single unit. It is
the mechanism that binds together the code and the data it
manipulates. Another way to think about encapsulation is that
it is a protective shield that prevents the data from being
accessed by the code outside this shield.
• Technically, in encapsulation, the variables or the data in a class
is hidden from any other class and can be accessed only
through any member function of the class in which they are
declared.
• In encapsulation, the data in a class is hidden from other
classes, which is similar to what data-hiding does. So, the terms
“encapsulation” and “data-hiding” are used interchangeably.
• Encapsulation can be achieved by declaring all the variables in a
class as private and writing public methods in the class to set
and get the values of the variables.
Inheritance
Inheritance is an important pillar of OOP (Object Oriented
Programming). It is the mechanism in Java by which one class is
allowed to inherit the features (fields and methods) of another
class.
Let us discuss some frequently used important terminologies:
• Superclass: The class whose features are inherited is known as
superclass (also known as base or parent class).
• Subclass: The class that inherits the other class is known as
subclass (also known as derived or extended or child class). The
subclass can add its own fields and methods in addition to the
superclass fields and methods.
• Reusability: Inheritance supports the concept of “reusability”,
i.e. when we want to create a new class and there is already a
class that includes some of the code that we want, we can
derive our new class from the existing class. By doing this, we
are reusing the fields and methods of the existing class.
Polymorphism
It refers to the ability of object-oriented programming
languages to differentiate between entities with the same
name efficiently. This is done by Java with the help of the
signature and declaration of these entities.
IMPEMENTATION
SCREENSHOT
1.Registration Page.
2.Choice of Topic
3.MCQ On Topic
4.Result Generation
CONCLUSION
The project < Quiz System= aims to simplify the process of testing or
evaluating the student9s performance by computerizing it and making it
user friendly. This project makes the whole process automated as user
just need to enter few details in this to get started and then he can
choose the subject of his choice on which he want to take quiz so as to
evaluate and enhance his performance. Result is generated automatically in
the end enabling student to improve his performance. This project cover
very much every function needed by user in supermarket management
system.