Java Internship Report
Java Internship Report
A Internship Report submitted in partial fulfillment of the requirements for the degree of
Submitted by By
P CHANDHURU
JULY 2024
1
CERTIFICATE
This is to certify that the Internship entitled "Java intern" submitted in partial
fulfillment of the requirements of the degree of Bachelor of Computer Application to
the Periyar University, Salem is a report of bonafide work carned out by
P CHANDHURU C22UG214CAP005 under my supervision and guidance
2
DECLARATION
I hereby declare that Internship entitled “Java Intern” submitted in partial fulfillment of the
requirements of the degree of Bachelor of Computer Science to the Periyar University,
Salem is a record of bonafide work carried out by me under the guidance of Mr. J Antony
Daniel Rex.M.C.A.M.Phil Head of Department of Computer Application
Place :
3
4
PERIYAR UNIVERSIT
9 Conclusion
5
ABSTRACT
This two-part lecture introduces students to the scientific computing language JAVA. Prior
computer programming experience is not required.
The lectures present basic concepts of computer programming logic that tend to cause
difficulties for beginners in addition to concepts that relate specifically to the JAVA
language syntax. The lectures begin with a discussion of variables, range, string
Every industry depends on software for its proper functioning be it healthcare, military.
Banking, research, and the list goes on
As per a survey it is observed that python is the main coding language for more than 80% of
developers. The main reason behind this is its extensive libraries and frameworks that fuel
up the process.
Machine Learning and Artificial Intelligence are the hottest subject right now. Java along
with its inbuilt libraries and tools facilitate the development of Al and ML algorithms.
In Game Development, with rapidly growing industry java has proved to be an exceptional
option for game development. Popular games like Pirates of the Caribbean, Bridge
commander, and Battlefield 2 use java programming for a wide range of functionalities and
addons.
In presence of popular 2D and 3D gaming libraries like pygame, panda3D, and cocos2D
make the game development process completely effortless.
6
INTEX
1
INTRODUCTION 8
2 OBJECTIVES 9
4 JAVA 12
5 HISTORY 12
6 FEATURE OF JAVA 13
7 STRENGHS 25
8 WEAKNESSES 25
9 CONCLUSION
7
INTRODUCTION
8
OBJECTIVES
❖ Internship 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 Internship in order to
receive real world experience and develop their skills
❖ An objective for this position should emphasize the skills students already possess
in the area and their interest in learning more.
❖ Internship is used to allow individuals to perform scientific research. 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 students resume for future jobs
❖ When they are applying for a Training Internship, make sure to nighlight any special
skills or talent
❖ Interns can stand apart from the rest of the applicants so that they can have an
improved chance of landing the position.
❖ Understanding the JAVA environmt
❖ To understand why JAVA is a useful scripting language for developers.
❖ To learn how to design and program Python applicatiom
❖ To learn how to use lists, tuples, and dictionaries in Python programs
❖ To leam how to identify Python object types.
❖ To learn how to use indexing and slicing to access data in Python programs
❖ To define the structure and components of a Python program.
❖ To learn how to write loops and decision statements in Python.
❖ To learn how to write functions and pass arguments in Python.
❖ To learn how to build and package Python modules for reusability.
❖ To learn how to read and write files in Python.
❖ To learn how to design object-oriented programs with Python classes.
❖ To learn how to use class inheritance in Python for reusability.
9
DESCRIPTION OF THE INSTITUTION
OPTIMUS
Hiwww.optimustechno.com
ORGANIZATION PROFILE
Who we are ?
Our Services
❖ Sofiware Development
❖ Web Development
❖ Business Processing Out Sourcing
❖ Conduct off Campus and On Campus Drives in and around Tamil Nadu
Our Vision
10
Our Mission
SERVICES:
ERP
ERP is short for enterprise resource planning. Enterprise resource planning (ERP) is
business process management software that allows an organization to use a system of
integrated applications to manage the business and automate many back office functions
related to technology, services and human resources, “Optimus Technocrates (India) Pvt.
Ltd., provides you real time, fully integrated ERP System for your business success and
growth. We promise you the international standard.
CRM
11
JAVA
HISTORY OF JAVA
The history of Java is very interesting. Java was originally designed for
interactive television, but it was too advanced technology for the digital cable
television industry at the time. The history of Java starts with the Green Team.
Java team members (also known as Green Team), initiated this project to
develop a language for digital devices such as set-top boxes, televisions, etc.
However, it was best suited for internet programming. Later, Java technology
was incorporated by Netscape.
12
❖ Initially it was designed for small, embedded systems in electronic
appliances like set-top boxes.
❖ Firstly, it was called "Greentalk" by James Gosling, and the file extension
was .gt.
❖ After that, it was called Oak and was developed as a part of the Green
project.
FEATURE OF JAVA
Platform-independent:
One of the main features of Java is its platform independence. The “write once, run
anywhere” principle enables Java code to be compiled into an intermediate form
(bytecode) that can run on any device with a Java Virtual Machine (JVM).
This platform independence enables developers to create applications that can run
seamlessly on diverse platforms without modification.
Object-oriented:
Java is fully object-oriented, emphasizing the use of classes and objects. This
approach promotes modularity, reusability, and a clear structure in code organization.For
example, in Java, a developer can create a “Car” class with attributes like “model” and
“color” and instantiate multiple objects representing different cars.
Robust and Secure:Java’s design prioritizes reliability and robustness. It includes features
like automatic garbage collection, exception handling, and strong memory management,
reducing the chances of system crashes.The security features in Java, such as the absence
of explicit pointers and a secure runtime environment, contribute to its reputation for
building secure applications.
13
Multithreading:
Distributed Computing:
Java is well-suited for distributed computing. Its Remote Method Invocation (RMI)
and Application Programming Interface (API) for socket programming simplify the
development of distributed applications.Learning Java’s features is integral to becoming a
Full Stack Developer, and enrolling in a comprehensive Full Stack Developer course can
provide a well-rounded education.
Java’s dynamic nature allows developers to adapt and modify the code during
runtime. This extensibility contributes to the creation of scalable and adaptable software.
DISADVANTAGES OF JAVA
❖ Performance: Java programs take much longer time to run compared to C/C++.
❖ Memory:Since Java Programs run on top of Java Virtual Machine, it consumes more
memory.
❖ Cost: Since memory and processing requirements higher, hardware cost increases.
❖ Low level programming:There is no support for low level programming in Java, like
pointers are missing.
❖ Garbage collection:There is no control over garbage collection in Java. That is
programmer does not have any right to control the garbage collection. Java does not
provide functions like delete(), free().
❖ No Unsigned Types Unlike C/C++, Java does not support unsigned int, unsigned
char, … etc. However in Java 8, API for unsigned long and unsigned int is introduced
(Please see this oracle doc).
14
JAVA BASIC SYNTAX
Object – Objects have states and behaviors. Example: A dog has states – color, name,
breed as well as behavior such as wagging their tail, barking, eating. An object is an
instance of a class.
Instance Variables – Each object has its unique set of instance variables. An object’s
state is created by the values assigned to these instance variables.
Example:
1. class Simple{
3. System.out.println("Hello Java");
4. }
5. }
Output:
Hello Java
15
VARIABLES IN JAVA
Types of Variables:
❖ Local variable
❖ Instance variable
❖ Static variable
Local Variable:
A variable declared inside the body of the method is called local variable. You can use
this variable only within that method and the other methods in the class aren’t even aware
that the variable exists.
Instance Variable:
A Variable declared inside the class but outside the body of the method, is called an
instance variable. It is not declared as static.It is called an instance variable because its
value is instance-specific and is not shared among instances.
Static variable:
A Variable that is declared as static is called a static variable. It cannot be local. You
can create a single copy of the static variable and share it among all the instances of the
class. Memory allocation for static variables happens only once when the class is loaded in
the memory.
1. public class A
2. {
4. void method()
5. {
16
7. }
9. {
11. }
Data types specify the different sizes and values that can be stored in the variable.
There are two types of data types in Java:
❖ Primitive data types: The primitive data types include boolean, char, byte, short, int,
long, float and double.
❖ Non-primitive data types: The non-primitive data types include Classes, Interfaces,
and Arrays.
In Java language, primitive data types are the building blocks of data manipulation.
These are the most basic data types available in Java language.
17
Operators in Java
There are many types of operators in Java which are given below:
➢ Unary Operator,
➢ Arithmetic Operator,
➢ Shift Operator,
➢ Relational Operator,
➢ Bitwise Operator,
➢ Logical Operator,
➢ Conditional Operator
➢ Assignment Operator.
18
ARITHMETIC OPERATORS:
They are used to perform simple arithmetic operations on primitive data types.
Operation Symbol
Addition +
Subtraction -
Multiplication *
Division /
Modulo %
Example:
RELATIONAL OPERATORS:
These operators are used to check for relations like equality, greater than, and less
than. They return boolean results after the comparison and are extensively used in looping
statements as well as conditional if-else statements.
Operation Symbol
Is less than <
Is less than or <=
equal to
Is greater than >
Is greater than >=
or equal to
Is equal to ==
Is not equal to !=
Example:
19
LOGICAL OPERATOR:
Logical operators are used to check whether an expression is true or false. They are
used in decision making.
Operation Symbol
AND &&
OR ||
NOT !
CONDITIONAL OPERATOR:
BITWISE OPERATOR:
20
Operation Symbol
Bitwise AND &
Bitwise OR !
Bitwise ^
Exclusive OR
Shift right >>
Shift left <<
Java Keywords
Java keywords are also known as reserved words. Keywords are particular words
that act as a key to a code. These are predefined words by Java so they cannot be used
as a variable or object name or class name.
21
JAVA CONTROL STATEMENTS
➢ If statements
➢ Switch statement
2)Loop statements
➢ for loop
➢ While loop
➢ Do while loop
If statement
class IfDemo {
int i = 10;
if (i < 15)
22
System.out.println("Outside if-block");
If else statement
Java if-else statement also tests the condition. It executes the if block if
condition is true otherwise else block is executed
Class IfElseDemo {
Int I = 20;
If (I < 15)
Else
23
Example:
Int number=20;
//Switch expression
Switch(number){
//Case statements
Break;
Break;
Break;
24
STRENGTH
• Platform Independence
• Robust and Secure
• Object-Oriented
• Rich Standard Library
• Large Ecosystem
• Strong Community and Industry Adoption
WEAKNESS
• Memory Consumption
• Slower Performance
• Verbose Syntax
• Lack of Low-Level Programming Capabilities
• Complexity of the JVM
• Slower Startup Time
25
26
27