Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 21

A

Industrial Training Presentation


On
“CORE JAVA”
Submitted in partial fulfillment for the award of the degree of
BACHELOR OF TECHNOLOGY
In
COMPUTER SCIENCE & ENGINEERING

2019-2020
Submitted To: Submitted By:
Er. Pradeep Jha Khushboo Verma
Associate Prof. & Head 17EAYCS046
Computer Science & Engineering B.Tech. III Yr. V Sem.
COMPUTER SCIENCE & ENGINEERING COMPUTER SCIENCE & ENGINEERING
CORE JAVA
Company Profile
Bodacious IT Hub Pvt. Ltd.
Bodacious IT Hub is a Jaipur based company founded by Bijendra Bhati (popularly known as Bhati Sir). The company deals in
software development and information technology training both. We deliver products as well as services. We have been
developing applications and providing various services like Corporate Training, IT Consultancy, Software Development
Assistance and IT Outsourcing. Being a pioneer in IT education we always have best of the brains with us and we are known
for providing exceptionally well training to aspirants and using all the latest technologies. Bodacious IT Hub is a team of
talented professionals who have been working on various types of projects (desktop applications, web applications and
mobile applications) since years using technologies like Java, iOS, Android, Salesforce, .NET and C++. Bodacious is a renowned
name as far as IT Training is concerned and we also have a team of skilled and experienced professionals who have hands on
experience on different technologies so we always have people seeking our advice and consultancy. We have been
passionately providing consultancy to clients all over the world. Our trainees have risen to such heights that they have made
the name Bodacious IT Hub synonyms with success in the IT world. Our trainees are working in the leading IT companies all
over the world (Amazon, Google, Facebook etc.) and some of them have got certificate of excellence wherever they are
working . The achievement of Bodacious IT Hub is consolidated by the fact that we have trainees coming from various parts
of world including USA, CANADA etc. Bodacious IT Hub has produced hundreds of Sun Certified Java Professionals so far. It is
the leading organization that has been involved in preparing students for online exams
CONTENT

• What is Java ?
• Where is Java used ?
• Features of Java
• Java Program Translation
• Java Virtual Machine
• Java Program-Development phase
• Advantage of java
• Project
What is JAVA ?
• Java is Object Oriented Programming language as
well as Platform independent language.
• Java was developed by a team led by James
Gosling at Sun Microsystems.
• Java is a first programming language which
provide the concept of writing programs that can be
executed using the web
Where is JAVA used ?
According to the Sun , 3 billion devices run java. There are many
devices where Java is currently used.
• Desktop Applications - Acrobat reader, Media player, Antiviruses
etc.
• Web Applications - irctc.co.in , javatpoint.com etc.
• Enterprise Application – Banking Application, Business Application.
• Mobile.
• Embedded System.
• Games.
• Robotics.
Features of JAVA
• Java is Simple.
• Java is Object Oriented
• Java is Distributed
• Java is Architecture Neutral
• Java is Robust
• Java is Interpreted and Compiled
• Java is Secure
• Java is Portable
• Java is Multi-Threaded
JAVA Program Translation
JAVA Virtual Machine

• Java virtual machine is the like usual computer which translate


high level language into machine language.

• Just like that Java virtual machine also translate bytecode into
machine language.

• JVM are available for many hardware and software Platform.


What is OOP ?
• Object-oriented programming is a method of implementation.

• A language in which everything represent in the form of Object is


called Object Oriented Programming Language.

• It not only makes the program less complex but also makes the software
reuse feasible and possible.

• Java is not truly Object Oriented Programing Language.


Concepts of OOP

• Object
• Class
• Encapsulation
• Inheritance
• Polymorphism
• Abstraction
JAVA Program Development Phases
Data types in JAVA
Garbage Collection
• Garbage collection is the mechanism that De allocate the
memory of an object when it is no longer referenced by a
variable.

• In C++, the memory of an Object is released by use of


delete operator.

• Java virtual machine determines when to free up the


memory of an object
Advantages of JAVA
• Java is simple language.

• Java does not support POINTERS.

• Java is first language in which programs can be executed using web.

• Write Once Run Anywhere (WORA)


Project
Tic-Tac-Toe
• Tic-Tac-Toe (also known as Noughts and crosses or Xs and Os) is a
paper and pencil game for two players, X and O, who take turns
marking the spaces in a 3 x 3 grid. The player who succeeds in placing
three of their marks in a horizontal , vertical or diagonal row wins the
game.
Strategy
A player can play a perfect game of tic-tac-toe (to win or at least, draw) if each time it is their turn
to play
• Win: If the player has two in a row, they can place a third to
get three in a row.

• Block: If the opponent has two in a row, the player must play
the third themselves to block the opponent.
• Fork: Create an opportunity where the player has two
ways to win (two non-blocked lines of 2

• Blocking an opponent's fork: If there is only one possible


fork for the opponent, the player should block it.
Otherwise, the player should block all forks in any way that
simultaneously allows them to create two in a row.
Otherwise, the player should create a two in a row to
force the opponent into defending, as long as it doesn't
result in them creating a fork. For example, if "X" has two
opposite corners and "O" has the center, "O" must not play
a corner in order to win. (Playing a corner in this scenario
creates a fork for "X" to win.)
• Center: A player marks the center. (If it is the first move of the
game, playing on a corner gives the second player
more opportunities to make a mistake and may therefore
be the better choice; however, it makes no
difference between perfect players.)
• Opposite corner: If the opponent is in the corner, the player
plays the opposite corner.
• Empty corner: The player plays in a corner square.
• Empty side: The player plays in a middle square on any of the
4 sides.
Graphical User Interface
THANK
YOU

You might also like