0% found this document useful (0 votes)
909 views

Java Internship Report

Hii everyone
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
909 views

Java Internship Report

Hii everyone
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

JAVA INTERNSHIP

A Internship Report submitted in partial fulfillment of the requirements for the degree of

BACHELOR OF COMPUTER APPLICATION TO THE PERIYAR UNIVERSITY, SALEM-11

Submitted by By

P CHANDHURU

Reg. No.: C22UG214CAP005

Under the Guidance of

Mr.J Antony Daniel Rex.M.C.A.M.Phil

Head Department of Computer Application

DEPARTMENT OF COMPUTER APPLICATION

AVS ARTS & SCIENCE COLLEGE

(Affiliated To Periyar University) Chikkanampatti, Salem - 636 309

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

Signature of the Guide. Signature of the HOD

Date of viva -voce:__________________ on AVS Arts and science college, omalur,


Salem -636309

Internal Examiner. External Examiner

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

Date: signature of the candidate

Place :

3
4
PERIYAR UNIVERSIT

INTERNSHIP TRAINING REPORT FORMAT

1 Name of the candidate P CHANDHURU


University Examination Registration
2 Number C22UG214CAP005

AVS Arts and Science College, omalur,


3 Name of the college
Salem -636309

4 Name of the department/degree B.C.A

Name of the Industry /Institute in


5 which for Internship Training Optimus Technocrates Pvt Ltd. (India)
Undergone
Guide / Supervisor under whom the
6 Training Undertaken
Dr.Ramani.ME.Phd.,

7 Title of the Training JAVA

Brief Output of Training (Not more than


8 2 pages )- Attach Annexure -1
Attached

9 Conclusion

10 Outcome of the Training

Signature of the Student Head of the Department. Principal

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

S.No TITLE PAGE ON

1
INTRODUCTION 8

2 OBJECTIVES 9

3 DESCRIPTION OF THE INSTITUTION 10

4 JAVA 12

5 HISTORY 12

6 FEATURE OF JAVA 13

7 STRENGHS 25

8 WEAKNESSES 25

9 CONCLUSION

7
INTRODUCTION

Java is a class-based, object-oriented programming language that is


designed to have as few implementation dependencies as possible. It is
intended to let application developers write once, and run anywhere (WORA),
meaning that compiled Java code can run on all platforms that support Java
without the need for recompilation. Java was first released in 1995 and is widely
used for developing applications for desktop, web, and mobile devices. Java is
known for its simplicity, robustness, and security features, making it a popular
choice for enterprise-level applications.
JAVA was developed by James Gosling at Sun Microsystems Inc in the
May 1995 and later acquired by Oracle Corporation. It is a simple programming
language. Java makes writing, compiling, and debugging programming easy. It
helps to create reusable code and modular programs. Java is a class-based,
object-oriented programming language and is designed to have as few
implementation dependencies as possible. A general-purpose programming
language made for developers to write once run anywhere that is compiled
Java code can run on all platforms that support Java. Java applications are
compiled to byte code that can run on any Java Virtual Machine. The syntax of
Java is similar to c/c++.

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

OPTIMUS TECHNOCRATES (INDIA) Pvt. Ltd.

AN 50 9001:2015 CERTIFIED R & D COMPANY

ORGANIZATION PROFILE

Optimus Warm Greetings…

Who we are ?

Optimus Technocrates (India) Pvt. Ltd., do Software Development, Website


Designing and Mobile Application development And Data centre Administration
Certification courses, In-Plant trainings, Workshops, Seminars, Faculty Development
Programme, Real time Project development and Placement assistance along with Web
Hosting and Outsourcing. We established our Company in the year 2008, Head Office in
Chennai and branch offices in Coimbatore, Our team consists of Highly proficient and
Experienced Managing Director, Excellent HR Manager, and Qualified Trainers in various
streams. We have good Industrial and teaching exposure and so we transform students and
learners to experts.

Our Services

❖ Sofiware Development
❖ Web Development
❖ Business Processing Out Sourcing
❖ Conduct off Campus and On Campus Drives in and around Tamil Nadu

Our Vision

We will be regarded as the centre of excellence, an education provider of choice for


career commencement and professional development to the Students in an educational
Institution. We will be committed to gaining a reputation of excellence in delivering quality
education services to, local peoples to reach and achieve their goals.

10
Our Mission

Optimus Technocrates (India) Pvt. Ltd., is a Software Development company


endeavors to be a professional, community spirited and progressive training body, offering
flexible, tailored training and education solutions designed to educate, inspire and motivate
individuals and businesses helping you reach and achieve your goals and aspirations”

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

In CRM (customer relationship management), CRM software is a category of software


that covers a broad set of applications and software designed to help businesses manage
customer data and customer interaction, access business information, automate sales,
marketing and customer support and also manage employee, vendor and partner
relationships. Optimus provides CRM software which is designed to help businesses meet
the overall goals of customer relationship management.

11
JAVA

Java is a programming language and a platform. Java is a high level,


robust, object-oriented and secure programming language.

Java was developed by Sun Microsystems (which is now the subsidiary


of Oracle) in the year 1995. James Gosling is known as the father of Java.
Before Java, its name was Oak. Since Oak was already a registered company,
so James Gosling and his team changed the name from Oak to Java.

Platform: Any hardware or software environment in which a program


runs, is known as a platform. Since Java has a runtime environment (JRE) and
API, it is called a platform.

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.

The principles for creating Java programming were "Simple, Robust,


Portable, Platform-independent, Secured, High Performance, Multithreaded,
Architecture Neutral, Object-Oriented,
Interpreted, and Dynamic". Java was developed
by James Gosling, who is known as the father of
Java, in 1995. James Gosling and his team
members started the project in the early '90s.

Currently, Java is used in internet programming,


mobile devices, games, e-business solutions, etc.
Following are given significant points that
describe the history of Java.

❖ James Gosling, Mike Sheridan, and Patrick


Naughton initiated the Java language project in
June 1991. The small team of sun engineers called Green Team.

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

Simple and Easy to Learn:


Java’s syntax is designed to be simple and easy to understand. With its similarity to
other programming languages like C++ and C#, web developers find it accessible, easing
the learning curve.

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:

Java supports multithreading, allowing concurrent execution of multiple threads


within a program. This feature enhances performance, responsiveness, and the efficient
utilization of system resources.Developers can use Java’s `Thread` class or implement the
`Runnable` interface to create multithreaded applications.

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.

Dynamic and Extensible:

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

When we consider a Java program, it can be defined as a collection of objects


that communicate via invoking each other’s methods. Let us now briefly look into
what do class, object, methods, and instance variables mean.

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.

Class – A class can be defined as a template/blueprint that describes the


behavior/state that the object of its type supports.

Methods – A method is basically a behavior. A class can contain many methods. It is


in methods where the logics are written, data is manipulated and all the actions are
executed.

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{

2. public static void main(String args[]){

3. System.out.println("Hello Java");

4. }

5. }
Output:

Hello Java

15
VARIABLES IN JAVA

A variable is the name of a reserved area allocated in memory. In other words, it is a


name of the memory location. It is a combination of “vary + able” which means its value can
be changed.

Int data=50;//Here data is variable

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.

A local variable cannot be defined with “static” keyword.

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.

Example to understand the types of variables in java

1. public class A

2. {

3. static int m=100;//static variable

4. void method()

5. {

6. int n=90;//local variable

16
7. }

8. public static void main(String args[])

9. {

10. int data=50;//instance variable

11. }

12. }//end of class

Data Types in Java

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.

Java Primitive Data Types

In Java language, primitive data types are the building blocks of data manipulation.
These are the most basic data types available in Java language.

➢ Boolean data type


➢ Byte data type
➢ Char data type
➢ Short data type
➢ Int data type
➢ Long data type
➢ Float data type
➢ Double data type

17
Operators in Java

Operator in Java is a symbol that is used to perform operations. For example: +, -, *, /


etc.

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:

a+b ; a-b; a*b; a/b;

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:

a<b , a<=b , a>b , a>=b. , a==b

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:

➢ The character pair ?: is used for conditional operator.


➢ It is also called as ternary operator.
➢ exp1, exp2, exp3 are expressions
➢ The operator ?: works as follows
Exp1 ? Exp2 : Exp3;
➢ Expression1 is evaluated first, if its is true then the expression2 is evaluated.
➢ If expression 1 is false, expression3 is evaluated.

INCREMENT AND DECREMENT OPERATORS:

➢ They are also called unary operator.


➢ ++ Increment operator, add 1 to the operand
➢ -- Decrement operator, subtract 1 to the operand
➢ They may also used to increment subscripted variables
➢ Eg: a++ , a—

BITWISE OPERATOR:

➢ Bitwise operators are to manipulate data at values of bit level.


➢ These operators are used for testing the bits, or shifting them to the right or left.
➢ Bitwise operators may not to float or double.

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.

A list of Java keywords or reserved words are given below:

21
JAVA CONTROL STATEMENTS

Java provides statements that can be used to control the flow of


Java code. Such statements are called control flow statements. It is one
of the fundamental features of Java, which provides a smooth flow of
program.

Java provides three types of control flow statements.

1)Decision Making statements

➢ If statements
➢ Switch statement

2)Loop statements

➢ for loop
➢ While loop
➢ Do while loop

Decision making statements

If statement

Java if statement tests the condition. It executes the if block if condition


is true.

class IfDemo {

public static void main(String args[])

int i = 10;

if (i < 15)

System.out.println("10 is less than 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 {

Public static void main(String args[]) {

Int I = 20;

If (I < 15)

System.out.println(“I is smaller than 15”);

Else

System.out.println(“I is greater than 15”);

System.out.println(“Outside if-else block”);

Switch statement in java:

The Java switch statement executes one statement from multiple


conditions. It is like if-else-if ladder statement. The switch statement works
with byte, short, int, long, enum types, String and some wrapper types like
Byte, Short, Int, and Long. Since Java 7, you can use strings in the switch
statement.

23
Example:

Public class SwitchExample {

Public static void main(String[] args) {

//Declaring a variable for switch expression

Int number=20;

//Switch expression

Switch(number){

//Case statements

Case 10: System.out.println(“10”);

Break;

Case 20: System.out.println(“20”);

Break;

Case 30: System.out.println(“30”);

Break;

//Default case statement

Default:System.out.println(“Not in 10, 20 or 30”);

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

You might also like