0% found this document useful (0 votes)
58 views20 pages

Internship Report On Java Development

intern

Uploaded by

akhi.kumar7575
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views20 pages

Internship Report On Java Development

intern

Uploaded by

akhi.kumar7575
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

OASIS INFOBYTE

INTERNSHIP
REPORT
OF JAVA DEVELOPMENT.

Submitted To:-Dr.A.K.Maurya
Submitted by:-Anil Gupta.
Course:-B.Tech(IT).
Year:-II Year.
Roll no.:-21309.
Date:-08/05/2023.
2 JAVA DEVELOPMENT.

CERTIFICATE
3 JAVA DEVELOPMENT.

ACKNOWLEDGEMENT

It is our privilege to express our sincerest regards to our internship project


coordinator, Dr. A. K. Maurya , his valuable inputs, able guidance, encouragement,
cooperation and constructive criticism throughout the duration of our internship
project report. We deeply express our sincere thanks to our Head of Department,
Mr.R.K.Gupta, for encouraging and allowing us to present the project on the topic
“JAVA “at our department premises for the partial fulfillment of the requirements
leading to the award of BTech degree. We take this opportunity to thank all our
lecturers who have directly or indirectly helped our project and internship report.
We pay our respects and love to our parents and all other family members and
friends for their love and encouragement through out our career. Last but not the
least we express our thanks to our friends for their cooperation and support.
4 JAVA DEVELOPMENT.

ORGANISATION INFORMATION
OASIS is founded in 1993(30 years ago). GIRISH
PAWAR is the owner of Oasis Infobyte.OASIS INFOBYTE offers a variety of
website design and development services.We specialize in developing interactive,
scalable, brandoriented, and businessready custom web solutions. Our aim is to
build profitable digital products engineered to spark creativity and boost ROI.
Organization for the Advancement of Structured Information Standards
(OASIS) is the full form of OASIS.

❖ OPPURTUNITIES IT PROVIDES:
 Application Developer jobs.
 Data Analyst jobs.
 Embedded Software Engineer jobs.
 Machine Learning Engineer jobs.
 Finance Intern jobs.
 Design Engineer jobs.
 Writer jobs.
 Art Director jobs.
 Internship Training.
5 JAVA DEVELOPMENT.

LEARNING OBJECTIVES:

 Internships are generally thought of to be reserved for college students


looking to gain experience in a particular field.
 However, a wide array of people can benefit from Training
Internships in order to receive real world experience and develop their
skills.
 An objective for this position should emphasize the skills you already
possess in the area and you interest in learning more.
 Internships are utilized in a number of different career fields,
including architecture, advertisement, engineering, and many more.
 Some Internships are used to allow individuals to perform scientific
research while others are specifically designed to allow people to gain
first-hand experience working.
 Utilizing Internships is a great way to build your resume and develop
skills that can be emphasized in your resume for future jobs.
6 JAVA DEVELOPMENT.

CONTENT
1. Acknowledgement.
2. Introduction.
3. Basics Of Java.
4. Overview Of Java.
4.1. JRE.
4.2. JVM.
4.3. Garbage Collector.
4.4. API.
4.5. JIT.
5. Features Of Java.
6. Object And Class.
7. Data Types & Variables.
8. Operators And Its Types.
9. Java Object Oriented.
9.1. Inheritance.
9.2. Method Overloading.
9.3. Method Overriding.
9.4. Interface.
9.5. Abstraction.
9.6. Encapsulation. 10.7. Polymorphism.
10. Multithreading.
11. String.
12. Projects Undertaken. Conclusions.
7 JAVA DEVELOPMENT.

INTRODUCTION
This report aims to provide an overview of my internship experience at Oasis
Infobyte Company, where I was assigned to work on Java development projects.
This internship was an opportunity for me to gain practical experience in Java
programming and to apply the knowledge I have acquired in my academic
studies. In this report, I will outline the objectives and goals of the internship,
the activities and tasks I performed, the skills and knowledge I gained, and the
challenges and lessons learned during the internship.
8 JAVA DEVELOPMENT.

JAVA
Java is one of the programming language or technology used for developing web
applications. Java language developed at SUN Micro Systems in the year 1995
under the guidance of James Gosling and there team. Originally SUN Micro
Systems is one of the Academic University (Standford University Network)
Whatever the software developed in the year 1990, SUN Micro Systems has
released on the name of oak, which is original name of java
(scientifically oak is one of the tree name). The OAK has taken 18 months to
develop. The oak is unable to fulfill all requirements of the industry. So James
Gosling again reviews this oak and released with the name of java in the year
1995. Scientifically, Java is one of the coffee seed name.

BASICS OF JAVA
Simple: Java is a simple language because its syntax is simple, clean, and easy to
understand. Complex and ambiguous
concepts of C++ are either eliminated or reimplemented in Java. For example,
pointer and operator overloading are not used in Java. In Java, everything is in the
form of the object so it is called Object-Oriented Program.

❖ Categories of Java:
 Java divided into three categories, they are:
 J2SE (Java 2 Standard Edition)
 J2EE (Java 2 Enterprise Edition)
 J2ME (Java 2 Micro or Mobile Edition)
J2SE
 J2SE is used for developing client side applications.
J2EE
 J2EE is used for developing server side applications.
J2ME
 J2ME is used for developing mobile or wireless application by making use of
predefined protocol (Wireless Access / Application protocol).
9 JAVA DEVELOPMENT.

OVERVIEW OF JAVA
Java is a platform independent, more powerful, secure, high performance,
multithreaded programming language. Here we discuss some points related to
java.
❖ JRE
The Java Runtime Environment (JRE) is part of the Java
Development Kit (JDK). It contains set of libraries and tools for
developing java application. The Java Runtime Environment
provides the minimum requirements for executing a Java
application.

❖ JVM
JVM is set of programs developed by sun Micro System 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.
❖ Garbage Collector
Garbage Collector is the system Java program which runs in the
background along with regular Java program to collect un-
Referenced (unused) memory space for improving the performance
of our applications.

❖ API
An API (Application Programming Interface) is a collection of
packages, a package is the collection of classes, interfaces and sub-
packages. A subpackage is a collection of classes interfaces and sub
packages etc. Java programming is containing user friendly syntax
so that we can develop effective applications. in other words if any
language is providing user friendly syntax, we can develop error free
applications.
❖ JIT
JIT is the set of programs developed by SUN Micro System and
added as a part of JVM, to speed up the interpretation phase.
10 JAVA DEVELOPMENT.

FEATURES OF JAVA
Features of a language are nothing but the set of services or facilities provided by
the language vendors to the industry programmers. Some important features are;

❖ Variable Path
Variable is set for providing path for all java tools like java, javac,
javap, javah, jar, appletviewer which are use in java programming.
These all tools are available in bin folders so we set path upto bin
folders.

❖ Classpath Variable
Classpath variable is set for providing path for predefined java
classes which is used in our application. All classes are available in
lib/rt.jar so we set classpath upto lib/rt.jar.

OBJECT AND CLASS


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
method and no memory is allocated for them. A class is a group of objects that
has common properties. A class in java contains:
• Data Member.
• Method.
• Constructor.
• Block.
• Class and Interface.
Object: Object is a instance of class, object has state and behaviors.
An Object in java has three characteristics:
• State.
• Behavior.
• Identity.
State: Represents data (value) of an object.
Behavior: Represents the behavior (functionality) of an object such as deposit,
withdraw etc.
Identity: Object identity is typically implemented via a unique ID. The value of
the ID is not visible to the external user. But, it is used internally by the JVM to
identify each object uniquely. Class is also can be used to achieve user defined
data types.
11 JAVA DEVELOPMENT.

DATA TYPES & VARIABLES


Datatype is a spacial keyword used to allocate sufficient memory space for the
data, in other words. Data type is used for representing the data in main memory
(RAM) of the computer. In general every programming language is containing
three categories of data types.
They are :
• Fundamental or primitive data types.
• Derived data types.
• User defined data types.
Variable is an identifier which holds 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 to identify input data in a program.

OPERATORS AND ITS TYPES


Operator is a special symbol that tells the compiler to perform specific
mathematical or logical Operation. Java supports following lists of operators:
• Arithmetic Operators..
• Relational Operators.
• Logical Operators.
• Bitwise Operators.
• Assignment Operators.

• Ternary or Conditional Operators.

JAVA OBJECT ORIENTED


• 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 objectoriented programming. A class that is declared with abstract
keyword, is known as abstract class. An abstract class is one which is containing
some defined method and some undefined method. In java programming
undefined methods are known as un-Implemented or abstract method. 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.
Types of Inheritance :
• Single inheritance.
• Multiple inheritance.
• Hierarchical inheritance.
12 JAVA DEVELOPMENT.

• Multilevel inheritance.
• Hybrid inheritance.
• Method Overloading
Whenever same method name is exiting multiple times in the same class
with different number of parameter or different order of parameters or different
types of parameters is known as method overloading. Different ways to overload
the method There are two ways to overload the method in java:
• By changing number of arguments or parameters.
• By changing the data type.
• By changing the order of arguments.
• Method Overriding
Whenever same method name is existing in both base class and derived
class with same types of parameters or same order of parameters is known as
method Overriding.
• Interface
Interface is similar to class which is collection of public static final
variables (constants) and abstract methods. The interface is a mechanism to
achieve fully abstraction in java. There can be only abstract methods in the
interface. It is used to achieve fully abstraction and multiple inheritance in Java.
• Abstraction
Abstraction is the concept of exposing only the required essential
characteristics and behavior with respect to a context. Hiding of data is known as
data abstraction. In object oriented programming language this is implemented
automatically while writing the code in the form of class and object.
• Encapsulation
Encapsulation is a process of wrapping of data and methods in a single
unit is called encapsulation. Encapsulation is achieved in java language by class
concept. Combining of state and behavior in a single container is known as
encapsulation. In java language encapsulation can be achieve using class
keyword, state represents declaration of variables on attributes and behavior
represents operations in terms of method.
• Polymorphism
The process of representing one form in multiple forms is
known as Polymorphism. Here original form or original method always resides
in base class and multiple forms represents overridden method which resides in
derived classes. Polymorphism is not a programming concept but it is one of the
principal of OOPs. For many objects oriented programming language
polymorphism principle is common but whose implementations are varying
from one objects oriented programming language to another object oriented
programming language. Polymorphism principal is divided into two sub
principal they are:
• Static or Compile time polymorphism.
13 JAVA DEVELOPMENT.

• Dynamic or Runtime polymorphism.

❖ Multithreading
Multithreading in java is a process of executing multiple threads simultaneously.
The aim of multithreading is to achieve the concurrent execution. Thread:
Thread is a lightweight components and it is a flow of control. In other words a
flow of control is known as thread.
State of a thread are classified into five types they are:
1. New State.
2. Ready State.
3. Running State.
4. Waiting State.
5. Halted or dead State.

❖ String
String is a sequence of characters enclosed within double quotes (" ") is known
as String. Example: "Java Programming". In java programming to store the
character data we have a fundamental datatype called char. Similarly to store the
string data and to perform various operation on String data, we have three
predefined classes they are:

• String.
• StringBuffer.
• StringBuilder.

❖Collection
Collections in java is a framework that provides an architecture to store and
manipulate the group of objects. All the operations that you perform on a data
such as searching, sorting, insertion, manipulation, deletion etc. can be performed
by Java Collections. Java Collection simply means a single unit of objects. Java
Collection framework provides many interfaces (Set, List, Queue, Deque etc.)
and classes (ArrayList, Vector, LinkedList, PriorityQueue, HashSet,
LinkedHashSet, TreeSet etc).

PROJECT UNDERTAKEN
1. ATM Interface.
2. Number Guessing.
14 JAVA DEVELOPMENT.

➢ SOURCE CODE OF ATM INTERFACE PROJECT.


import java.util.Scanner;
public class atm { public static void main(String[]
args) { int Balance=30000; int Whithdraw=0; int
Deposite=0; int
Transfer=0;
Scanner sc=new Scanner(System.in); int pin=6306;
System.out.println("Enter pin"); int n;
int
enter=sc.nextInt(); if(pin==enter) {
while
(true) {
System.out.println("------WELCOME TO ATM----");
System.out.println("Enter 1ForTransaction History");
System.out.println("Enter 2 For Whithdraw Money");
System.out.println("Enter 3 For Deposite Money");
System.out.println("Enter 4 for Transfer");
System.out.println("Enter 5 for exit");
System.out.println("Enter option: "); n=sc.nextInt(); switch
(n) { case 1:
System.out.println("Transaction History ");
System.out.println("Money Whithdraw -"+Whithdraw);
System.out.println("Money Deposite -"+Deposite);
System.out.println("Money Transfer-"+Transfer);
System.out.println("The Current Balance is-"+ Balance);
System.out.println();

break;
case 2:
System.out.println("Enter A Whithdraw Ammount"); Whithdraw=sc.nextInt();
if(Whithdraw>Balance) {
System.out.println("Insufficient Balance!");
System.out.println("Unable to Withdraw");

} else
{
Balance=Balance-Whithdraw;
System.out.println("The Whithdraw Money is-"+Whithdraw);
System.out.println("Collect Your Money");
System.out.println();

}
break;
case 3:
15 JAVA DEVELOPMENT.

System.out.println("Enter A Deposite Ammount");


Deposite =sc.nextInt();
Balance=Deposite+Balance;
System.out.println("Place Your Mney Is Carefully ");

System.out.println("Money is Succesfully Deposite ");


System.out.println(""); break; case 4: while(true) {
System.out.println("Enter The Account No Of Beneficiary"); int accono=
sc.nextInt();
System.out.println("Enter The IFSC Code Of Benificiary "); int ifsc=
sc.nextInt();
System.out.println("Enter Account No");
System.out.println("confirm Account Number \n1.Confirm
\n2.No");
int choice = sc.nextInt(); if(choice==1) {
System.out.println("Enter Ammount");
Balance=Balance-Transfer;
System.out.println("Ammount Succfully Transfer "); break;
}
els
e{
System.out.println("Invalid Account No");

}
}
break ;
case 5:
System.out.println("Thank You For Using Our ATM"); System.exit(0); default:
System.out.println("Invalid Option");

}
}
}

els
e{
System.out.println("Invalid pin");
}
}
}
16 JAVA DEVELOPMENT.

OUTPUT:
Enter pin:
6306
------WELCOME TO ATM----Enter 1ForTransaction History
Enter 2 For Whithdraw Money
Enter 3 For Deposite Money
Enter 4 for Transfer Enter 5
for exit Enter option:
3
Enter A Deposite Ammount
10000
Place Your Money Is Carefully
Money is Succesfully Deposite

------WELCOME TO ATM---- Enter


1ForTransaction History
Enter 2 For Whithdraw Money
Enter 3 For Deposite Money
Enter 4 for Transfer Enter 5
for exit Enter option:
2
Enter A Whithdraw Ammount: 3000
The Whithdraw Money is-3000
Collect Your Money

------WELCOME TO ATM---- Enter


1ForTransaction History
Enter 2 For Whithdraw Money
Enter 3 For Deposite Money
Enter 4 for Transfer Enter 5
for exit Enter option:
1
Transaction History
Money Whithdraw -3000
Money Deposite -10000
Money Transfer-0
The Current Balance is-37000

------WELCOME TO ATM---- Enter


1ForTransaction History
Enter 2 For Whithdraw Money
Enter 3 For Deposite Money
17 JAVA DEVELOPMENT.

Enter 4 for Transfer Enter 5


for exit Enter option:
5
Thank You For Using Our ATM.

➢ SOURCE CODE OF NUMBER GUESSING GAME PROJECT.


import java.util.Scanner;
public class nogussing_game_anil { //
number guessing game public static
void guessingNumberGame()
{
// Scanner Class
Scanner sc = new Scanner(System.in);

// Generate the numbers int number = 1


+ (int)(100
* Math.random());

// Given K trials
int K = 5;

int i, guess;

System.out.println(
"A number is chosen"
+ " between 1 to 100."
+ "Guess the number"
+ " within 5 trials.");

for (i = 0; i < K; i++) {

System.out.println(
"Guess the number:");

// Take input for guessing


guess = sc.nextInt();

// If the number is guessed if


(number == guess) {
System.out.println(
"Congratulations!"
18 JAVA DEVELOPMENT.

+ " You guessed the number."); break;


}
else if (number > guess && i
!= K - 1) {
System.out.println(
"The number is "
+ "greater than " + guess);
}
else if (number < guess && i
!= K - 1) {
System.out.println(
"The number is"
+ " less than " + guess);
} } if (i
== K) {
System.out.println(
"You have exhausted"
+ " K trials.");

System.out.println(
"The number was " + number);
}
}

// Driver Code public


static void main(String
arg[])
{

// Function Call guessingNumberGame();


}
}
19 JAVA DEVELOPMENT.

OUTPUT:

A number is chosen between 1 to 100.Guess the number within


5 trials.
Guess the number:25 The number is
less than 25 Guess the number:
12
The number is greater than 12 Guess the number:
20
The number is greater than 20 Guess the
number:
23
The number is less than 23 Guess the
number:
21
Congratulations! You guessed the number.
20 JAVA DEVELOPMENT.

CONCLUSION
Overall, my internship experience at Oasis Infobyte Company was a valuable
opportunity for me to gain practical experience in Java programming and software
development. I learned a great deal about the software development life cycle, the
importance of effective communication and collaboration, and how to use various
software development tools and frameworks. I am grateful for this experience,
and I am confident that the skills and knowledge I gained during the internship
will be valuable assets as I continue my career in software development.
THANK YOU!

You might also like