SlideShare a Scribd company logo
Java presentation
What is java?
Java is a programming language and a platform.
"Write once, run anywhere" (WORA), or sometimes “write once, run everywhere”
(WORE), is a slogan created by Sun Microsystems to illustrate the cross-platform
benefits of the Java language.
This language was developed at SUN Microsystems in the year 1995 under the
guidance of James Gosling and team.
Platform: Any hardware or software environment in which a program runs, is
known as a platform. Since Java has its own runtime environment (JRE) and API, it
is called platform.
Features of Java
1- Simple
2- Object-Oriented
3- Platform independent
4- Secured
5- Robust
6- Architecture neutral
7- Portable
8- Dynamic
9- Interpreted
10- High Performance
11- Multithreaded
12- Distributed
Software & tools required
Software & Tools-
1- Linux 7.1 or Windows xp/7/8 operating system
2- Java JDK 8
3- Microsoft Notepad or any other text editor
4- Eclipse or NetBeans .
JVM , JDK & JRE
JVM
● JVM (Java Virtual Machine) is a software.
● It is a specification that provides runtime environment in which java bytecode
can be executed.
● It not physically exists.
● JVMs are not same for all hardware and software,for example for window os
JVM is different and for Linux JVM is different.
● JVM, JRE and JDK are platform dependent because configuration of each OS
differs. But, Java is platform independent.
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.
● It physically exists.
● It contains set of libraries + other files that JVM
uses at runtime.
JDK
● The Java Development Kit (JDK) is
primary components.
● It physically exists.
● It is collection of programming tools
and JRE, JVM.
Copy this path and set it as PATH in user
variables
Setting Up of Environment
Environment Setup
1- goto- Control Panel>System
and Security>System.
2- click on Advance System
Settings tab on left sidebar.
3- It will open System Properties
tab and click on Advanced tab.
4- Bottom|Right has
Environment Variable Button,
click on it.
5- Set PATH in User variables
and Set JAVA_HOME in System
variables .
1st
2nd
Where JAVA is used?
● Desktop Applications such as acrobat reader, media player, antivirus etc.
● Web Applications such as irctc.co.in, javatpoint.com etc.
● Enterprise Applications such as banking applications.
● Mobile
● Embedded System
● Smart Card
● Robotics
● Games etc.
Types of JAVA Application
There are mainly 4 type of applications that can be created using java
programming:
1- Standalone Application- Antivirus, Media Player etc.
2- Web Application- JSP, Servlets etc. used to make web application
3- Enterprise Application- JAVA EE at business tier
4- Mobile Application. Android and JAVA ME.
First Program “Hello World”
1- open text editor and write first program
2- Save it as Hello.java
3- Open command prompt or terminal .
4- Go to the file and to compile code write
“javac Hello.java” command.
5- to run “java Hello”.
class Hello {
public static void main (String args[])
{
System.out.println("Hello JAVA");
}
}
Compile and Execute
Class in JAVA
“class is the only logical entity.”
Class: Class is a blueprint 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:
1- Data Member, 2- Method, 3- Constructor
4- Block, 5- Class and 6- Interface
Object in JAVA
“Object is the physical as well as logical entity.”
Object: Object is an instance of class, object has state and behaviors.
An Object in java has three characteristics:
1- State 2- Behavior 3- Identity
State: Represents data (value) of an object.
Behavior: Represents the behavior (functionality) of an object
Identity: Object identity is typically implemented via a unique ID.
Real Life example of Object and class.
Class: vehicle
Object: car, bus, bike, truck are
object of vehicle class.
State: Color, Model,speed
Behaviour: Travelling
Identity: unique number
“Variable is a name of memory location or name of reserved area allocated in
memory.”
There are three types of variables in java
1- local variable ` 2- instance variable 3- static variable
A variable that is declared inside the
method is called local variable.
A variable that is declared inside the class
but outside the method is called instance
variable . It is not declared as static.
A variable that is declared as static is
called static variable. It cannot be local.
Variables and Datatypes in JAVA
DATA Types
Basically two types of
data type :
Primitive
&
Non-Primitive

More Related Content

What's hot (20)

PDF
Genesis and Overview of Java
Ravi_Kant_Sahu
 
PPTX
core java
Roushan Sinha
 
PPTX
Introduction to java
Sandeep Rawat
 
PPTX
Core Java
NA
 
PPTX
Core java complete ppt(note)
arvind pandey
 
PPTX
Training on Core java | PPT Presentation | Shravan Sanidhya
Shravan Sanidhya
 
PPTX
Introduction to java
Java Lover
 
PPTX
Jdk,jre,jvm
Kritika Goel
 
PPTX
JRE , JDK and platform independent nature of JAVA
Mehak Tawakley
 
PDF
Basic Java Programming
Math-Circle
 
DOCX
JDK,JRE,JVM
Cognizant
 
PPT
Java Programming for Designers
R. Sosa
 
PPTX
Presentation on Core java
mahir jain
 
PPT
Core java slides
Abhilash Nair
 
PPTX
Core Java Tutorials by Mahika Tutorials
Mahika Tutorials
 
PPTX
what is java?
Binary Informatics
 
PDF
Introduction to basics of java
vinay arora
 
PPTX
Java Introduction
sunmitraeducation
 
PPT
Java basic
Sonam Sharma
 
PDF
Introduction to Java Programming Language
jaimefrozr
 
Genesis and Overview of Java
Ravi_Kant_Sahu
 
core java
Roushan Sinha
 
Introduction to java
Sandeep Rawat
 
Core Java
NA
 
Core java complete ppt(note)
arvind pandey
 
Training on Core java | PPT Presentation | Shravan Sanidhya
Shravan Sanidhya
 
Introduction to java
Java Lover
 
Jdk,jre,jvm
Kritika Goel
 
JRE , JDK and platform independent nature of JAVA
Mehak Tawakley
 
Basic Java Programming
Math-Circle
 
JDK,JRE,JVM
Cognizant
 
Java Programming for Designers
R. Sosa
 
Presentation on Core java
mahir jain
 
Core java slides
Abhilash Nair
 
Core Java Tutorials by Mahika Tutorials
Mahika Tutorials
 
what is java?
Binary Informatics
 
Introduction to basics of java
vinay arora
 
Java Introduction
sunmitraeducation
 
Java basic
Sonam Sharma
 
Introduction to Java Programming Language
jaimefrozr
 

Viewers also liked (14)

PPTX
Presentacion java
Grisel Hernández
 
PPTX
Java presentation
surajdmk
 
PPTX
Overview of java web services
Todd Benson (I.T. SPECIALIST and I.T. SECURITY)
 
PPT
Java for the Beginners
Biswadip Goswami
 
PPTX
Media evaluation question 5
brandoncuriel4
 
PPTX
Java seminar
devendrakhairwa
 
KEY
Intro to java
chrisramey
 
PDF
Overview of Java EE 6 by Roberto Chinnici at SFJUG
Marakana Inc.
 
PDF
Java ppt Gandhi Ravi ([email protected])
Gandhi Ravi
 
PPT
Part3
haithamo
 
PPT
Presentation on java
shashi shekhar
 
PPT
Object Oriented Programming with Java
Jussi Pohjolainen
 
PPTX
Introduction to java
Veerabadra Badra
 
PDF
Introduction to java
Tajendar Arora
 
Presentacion java
Grisel Hernández
 
Java presentation
surajdmk
 
Java for the Beginners
Biswadip Goswami
 
Media evaluation question 5
brandoncuriel4
 
Java seminar
devendrakhairwa
 
Intro to java
chrisramey
 
Overview of Java EE 6 by Roberto Chinnici at SFJUG
Marakana Inc.
 
Java ppt Gandhi Ravi ([email protected])
Gandhi Ravi
 
Part3
haithamo
 
Presentation on java
shashi shekhar
 
Object Oriented Programming with Java
Jussi Pohjolainen
 
Introduction to java
Veerabadra Badra
 
Introduction to java
Tajendar Arora
 
Ad

Similar to Java presentation (20)

PDF
TechSearchWeb.pdf
TechSearchWeb
 
PDF
Technology Tutorial.pdf
TechSearchWeb
 
PDF
TechSearchWeb Tutorials.pdf
TechSearchWeb
 
PPTX
Lecture-2.pptx sensor design and signal processing using RF and THz sensing, ...
MuhammadUsmanYaseen2
 
PDF
Introduction java programming
Nanthini Kempaiyan
 
PPTX
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
 
PPTX
java basics.pptx
mlakshumaiah
 
PPTX
Object Oriented Programming Part 1 of Unit 1
VigneshkumarPonnusam1
 
PPTX
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
PPTX
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
PDF
java notes.pdf
JitendraYadav351971
 
PPS
Introduction to Java
Ankita Totala
 
PPSX
JAVA.ppsx java code java edv java development
wannabekrishna0
 
PPTX
UNIT 1.pptx
EduclentMegasoftel
 
DOCX
JAVA CORE
Ankit Chauhan
 
PPTX
1 java programming- introduction
jyoti_lakhani
 
PDF
JAVA for Every one
Satyam Pandey
 
PDF
Java programming material for beginners by Nithin, VVCE, Mysuru
Nithin Kumar,VVCE, Mysuru
 
PDF
JAVA BOOK BY SIVASANKARI
SivaSankari36
 
PDF
Java Basic.pdf
TechSearchWeb
 
TechSearchWeb.pdf
TechSearchWeb
 
Technology Tutorial.pdf
TechSearchWeb
 
TechSearchWeb Tutorials.pdf
TechSearchWeb
 
Lecture-2.pptx sensor design and signal processing using RF and THz sensing, ...
MuhammadUsmanYaseen2
 
Introduction java programming
Nanthini Kempaiyan
 
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
 
java basics.pptx
mlakshumaiah
 
Object Oriented Programming Part 1 of Unit 1
VigneshkumarPonnusam1
 
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
java notes.pdf
JitendraYadav351971
 
Introduction to Java
Ankita Totala
 
JAVA.ppsx java code java edv java development
wannabekrishna0
 
UNIT 1.pptx
EduclentMegasoftel
 
JAVA CORE
Ankit Chauhan
 
1 java programming- introduction
jyoti_lakhani
 
JAVA for Every one
Satyam Pandey
 
Java programming material for beginners by Nithin, VVCE, Mysuru
Nithin Kumar,VVCE, Mysuru
 
JAVA BOOK BY SIVASANKARI
SivaSankari36
 
Java Basic.pdf
TechSearchWeb
 
Ad

Recently uploaded (20)

PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PPTX
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
Customise Your Correlation Table in IBM SPSS Statistics.pptx
Version 1 Analytics
 

Java presentation

  • 2. What is java? Java is a programming language and a platform. "Write once, run anywhere" (WORA), or sometimes “write once, run everywhere” (WORE), is a slogan created by Sun Microsystems to illustrate the cross-platform benefits of the Java language. This language was developed at SUN Microsystems in the year 1995 under the guidance of James Gosling and team. Platform: Any hardware or software environment in which a program runs, is known as a platform. Since Java has its own runtime environment (JRE) and API, it is called platform.
  • 3. Features of Java 1- Simple 2- Object-Oriented 3- Platform independent 4- Secured 5- Robust 6- Architecture neutral 7- Portable 8- Dynamic 9- Interpreted 10- High Performance 11- Multithreaded 12- Distributed
  • 4. Software & tools required Software & Tools- 1- Linux 7.1 or Windows xp/7/8 operating system 2- Java JDK 8 3- Microsoft Notepad or any other text editor 4- Eclipse or NetBeans .
  • 5. JVM , JDK & JRE
  • 6. JVM ● JVM (Java Virtual Machine) is a software. ● It is a specification that provides runtime environment in which java bytecode can be executed. ● It not physically exists. ● JVMs are not same for all hardware and software,for example for window os JVM is different and for Linux JVM is different. ● JVM, JRE and JDK are platform dependent because configuration of each OS differs. But, Java is platform independent.
  • 7. 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. ● It physically exists. ● It contains set of libraries + other files that JVM uses at runtime.
  • 8. JDK ● The Java Development Kit (JDK) is primary components. ● It physically exists. ● It is collection of programming tools and JRE, JVM.
  • 9. Copy this path and set it as PATH in user variables Setting Up of Environment
  • 10. Environment Setup 1- goto- Control Panel>System and Security>System. 2- click on Advance System Settings tab on left sidebar. 3- It will open System Properties tab and click on Advanced tab. 4- Bottom|Right has Environment Variable Button, click on it. 5- Set PATH in User variables and Set JAVA_HOME in System variables . 1st 2nd
  • 11. Where JAVA is used? ● Desktop Applications such as acrobat reader, media player, antivirus etc. ● Web Applications such as irctc.co.in, javatpoint.com etc. ● Enterprise Applications such as banking applications. ● Mobile ● Embedded System ● Smart Card ● Robotics ● Games etc.
  • 12. Types of JAVA Application There are mainly 4 type of applications that can be created using java programming: 1- Standalone Application- Antivirus, Media Player etc. 2- Web Application- JSP, Servlets etc. used to make web application 3- Enterprise Application- JAVA EE at business tier 4- Mobile Application. Android and JAVA ME.
  • 13. First Program “Hello World” 1- open text editor and write first program 2- Save it as Hello.java 3- Open command prompt or terminal . 4- Go to the file and to compile code write “javac Hello.java” command. 5- to run “java Hello”. class Hello { public static void main (String args[]) { System.out.println("Hello JAVA"); } }
  • 15. Class in JAVA “class is the only logical entity.” Class: Class is a blueprint 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: 1- Data Member, 2- Method, 3- Constructor 4- Block, 5- Class and 6- Interface
  • 16. Object in JAVA “Object is the physical as well as logical entity.” Object: Object is an instance of class, object has state and behaviors. An Object in java has three characteristics: 1- State 2- Behavior 3- Identity State: Represents data (value) of an object. Behavior: Represents the behavior (functionality) of an object Identity: Object identity is typically implemented via a unique ID.
  • 17. Real Life example of Object and class. Class: vehicle Object: car, bus, bike, truck are object of vehicle class. State: Color, Model,speed Behaviour: Travelling Identity: unique number
  • 18. “Variable is a name of memory location or name of reserved area allocated in memory.” There are three types of variables in java 1- local variable ` 2- instance variable 3- static variable A variable that is declared inside the method is called local variable. A variable that is declared inside the class but outside the method is called instance variable . It is not declared as static. A variable that is declared as static is called static variable. It cannot be local. Variables and Datatypes in JAVA
  • 19. DATA Types Basically two types of data type : Primitive & Non-Primitive