SlideShare a Scribd company logo
1 of 21
Aptech Software Ltd.
Session 1
Introduction to Java
A Simple Approach - Core Java / Session 1/ 2 of 21
Aptech Software Ltd.
Objectives
Explain the history of Java
Explain Java in brief
List the types of Java programs
List Java Capabilities
Explain the Java Virtual Machine (JVM)
Examine the JDK and tools under it
Interpret the Java Program
A Simple Approach - Core Java / Session 1/ 3 of 21
Aptech Software Ltd.
History of Java
Introduced in 1995 by Sun Microsystems.
Its objective was to develop a software for
embedding in consumer electronic devices.
Initially called ‘Oak’.
Java being secure, portable, and platform-
independent was found to be capable of
addressing large scale problems across the
Internet.
A Simple Approach - Core Java / Session 1/ 4 of 21
Aptech Software Ltd.
What is Java?
An object-oriented programming language.
A cross platform language.
It is used to create stand-alone applications, net
based programs and programs for consumer
devices.
Example : cellular phones, palm pilots
A Simple Approach - Core Java / Session 1/ 5 of 21
Aptech Software Ltd.
Java and the Internet
A web site whose content
is same, from the time it is
developed.
A site whose contents
change once in a while.
Web Pages on the Internet can either be
static or dynamic.
Static Site Dynamic Site
A Simple Approach - Core Java / Session 1/ 6 of 21
Aptech Software Ltd.
Types of Java Programs
Applets Applications
It is a program written
in Java for a web
application, which can
be downloaded on any
client system.
Applets are more
intelligent programs as
compared to other
dynamic programs on
the Internet. An applet
can react and respond
to user inputs and
actions.
It is a program that
runs on the computer
under the operating
system of the
computer. The
application can either
be GUI based or
based on command
line interface.
A Simple Approach - Core Java / Session 1/ 7 of 21
Aptech Software Ltd.
Applications of Java
Create a wide variety of applications from a
simple computation program to complex
distributed application.
One can develop:
Colorful scrolling banner for web pages
Interactive quizzes
Program that plays audio, displays a banner and
animates images at the same time.
Games that can run as stand alone or be deployed on
the web.
A Simple Approach - Core Java / Session 1/ 8 of 21
Aptech Software Ltd.
Features of Java 3-1
Simple - The Java designers removed a number
of complex features that existed in C, such as
pointer manipulation, operator overloading etc.
Object-Oriented - Everything is an object in
Java. Therefore, the focus is on the data, and
the methods that operate on the object in the
application instead of procedures.
A Simple Approach - Core Java / Session 1/ 9 of 21
Aptech Software Ltd.
Features of Java 3-2
Platform-independent - It refers to the ability of
the program at the source level, which allows the
user to move the source code from one system
to another, compile the code, and run it cleanly
on a system.
Robust - Java checks the code at the time of
compilation, and also at the time of
interpretation.
A Simple Approach - Core Java / Session 1/ 10 of 21
Aptech Software Ltd.
Features of Java 3-3
Secure - Java provides a controlled
environment for the execution of the program,
for which it provides several layers of security
control.
Distributed - Java can be used to develop
applications that are portable across multiple
platforms, operating systems, and graphic user
interfaces.
Multithreaded - Java programs use a process
called ‘multithreading’ to perform many tasks
simultaneously.
A Simple Approach - Core Java / Session 1/ 11 of 21
Aptech Software Ltd.
New Features of Java 1.4.2 2-1
Swing – A new set of classes and interfaces
used to create an advanced GUI with a “look
and feel” design.
Drag and drop – The capability to interactively
transfer information across different applications
and from one part of a program’s interface to
another.
Java 2D API - A set of classes for advanced 2D
graphics and imaging.
A Simple Approach - Core Java / Session 1/ 12 of 21
Aptech Software Ltd.
New Features of Java 1.4.2 2-2
Java Sound – A totally new set of
characteristics pertaining to Java’s audio
features.
RMI - Remote Method Invocation allows
applications to call object methods located at
remote sites and communicate with them.
A Simple Approach - Core Java / Session 1/ 13 of 21
Aptech Software Ltd.
The Java Virtual Machine
It has an interpreter component that enables
communication between Java byte code and a
computer’s operating system.
Java code can run on any platform by using
JVM.
JVM normally reads and executes Java
statements one at a time.
JVM is responsible for platform independence.
Recognizes only a particular binary format
called a class file.
A Simple Approach - Core Java / Session 1/ 14 of 21
Aptech Software Ltd.
The Java Development Kit
It contains the software and tools needed to
compile, debug and execute applets and
applications written in the Java language.
It is a set of command-line tools.
Some versions of the Java language are:
Java 1.0
Java 1.1
Java 2
Java 1.4.2
Freely available at Sun’s official website.
A Simple Approach - Core Java / Session 1/ 15 of 21
Aptech Software Ltd.
Tools under JDK 2-1
javac: Compiler used to compile Java source
code.
Syntax: javac [option] source
Source files end with an extension of .java
Options can include:
-classpath
-d
A Simple Approach - Core Java / Session 1/ 16 of 21
Aptech Software Ltd.
Tools under JDK 2-2
java: Interpreter used to execute Java byte
codes.
java [option] classname [arguments]
Options can include
-classpath
appletviewer: Used to view and test applets.
Syntax: appletviewer [options] url
A Simple Approach - Core Java / Session 1/ 17 of 21
Aptech Software Ltd.
Analyzing the Program 3-1
The symbol /* */ indicates that the statements
that follow are comments in that program. The
multi line comment begins with /* and ends
with */. A single line comment begins with a //
and ends at the end of the line.
The keyword class declares the definition of
the class. It also helps the compiler to
understand that it is a class declaration.
The entire class definition, including all its
members, is done within the open ({ ) and
closed ( }) curly braces. This marks the
beginning and end of the class definition block.
class Message {
/**
* This is a main method.
* @param args passed to the main method
*/
public static void main(String [] args) {
/* Printing the message */
System.out.println("Welcome to Java World! ");
}
}
A Simple Approach - Core Java / Session 1/ 18 of 21
Aptech Software Ltd.
Analyzing the Program 3-2
The program execution begins from main()
method.
The public keyword is an access specifier,
which controls the visibility and scope of class
members.
The static keyword allows the main()
method to be called, without needing to create
an instance of the class.
The void keyword tells the compiler that the
main() method does not return any value when
it is executed.
A Simple Approach - Core Java / Session 1/ 19 of 21
Aptech Software Ltd.
Analyzing the Program 3-3
The main() method is the starting point for all
Java applications.
Args[] is an array of type String.
The println() method displays the string that
is passed to it as an argument with the help of
System.out.
A Simple Approach - Core Java / Session 1/ 20 of 21
Aptech Software Ltd.
Command-Line Argument
 Information can be passed to the main() method during
the program execution by passing command-line
arguments.
 These arguments are accessed by the String parameters.
class ArgumentDemo {
/**
* This is a main method.
* @param args passed to the main method
*/
public static void main(String[] args) {
System.out.println("The following arguments are
passed during runtime");
/* Passing the command line arguments */
System.out.println(args[0]);
System.out.println(args[1]);
System.out.println(args[2]);
}
}
Command-Line Argument
A Simple Approach - Core Java / Session 1/ 21 of 21
Aptech Software Ltd.
Summary
 Java was introduced by Sun Microsystems in 1995.
 Java is object-oriented and a cross platform language.
 Applets are Java programs that run through a Java
enabled web browser.
 Java bytecodes are machine language instructions
understood by the Java Virtual Machine (JVM) and
usually generated as a result of compiling Java language
source code.
 A "Just-In-Time" (JIT) Java compiler produces native
code from Java byte code instructions during program
execution.
 The Java Development Kit (JDK) contains the software
and tools needed to compile, debug and execute applets
and applications written in the Java language. It’s
basically a set of command-line tools.
 Java program can be run using command-line
arguments. The data type of these arguments is of String
type.

More Related Content

Similar to java basic ppt introduction, The Java language is known for its robustness, security, and simplicity features. That is

J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
WE-IT TUTORIALS
 
Chapter 1 introduction to java technology
Chapter 1 introduction to java technologyChapter 1 introduction to java technology
Chapter 1 introduction to java technology
sshhzap
 
Java-1st.pptx about Java technology before oops
Java-1st.pptx about Java technology before oopsJava-1st.pptx about Java technology before oops
Java-1st.pptx about Java technology before oops
buvanabala
 

Similar to java basic ppt introduction, The Java language is known for its robustness, security, and simplicity features. That is (20)

Java 3 rd sem. 2012 aug.ASSIGNMENT
Java 3 rd sem. 2012 aug.ASSIGNMENTJava 3 rd sem. 2012 aug.ASSIGNMENT
Java 3 rd sem. 2012 aug.ASSIGNMENT
 
Introduction java programming
Introduction java programmingIntroduction java programming
Introduction java programming
 
Top 10 Important Core Java Interview questions and answers.pdf
Top 10 Important Core Java Interview questions and answers.pdfTop 10 Important Core Java Interview questions and answers.pdf
Top 10 Important Core Java Interview questions and answers.pdf
 
Ch2
Ch2Ch2
Ch2
 
Javalecture 1
Javalecture 1Javalecture 1
Javalecture 1
 
J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
 
JAVA Program Examples
JAVA Program ExamplesJAVA Program Examples
JAVA Program Examples
 
Chapter 1 introduction to java technology
Chapter 1 introduction to java technologyChapter 1 introduction to java technology
Chapter 1 introduction to java technology
 
Professional-core-java-training
Professional-core-java-trainingProfessional-core-java-training
Professional-core-java-training
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate Framework
 
Java-Unit-I.ppt
Java-Unit-I.pptJava-Unit-I.ppt
Java-Unit-I.ppt
 
Java1
Java1Java1
Java1
 
Java
Java Java
Java
 
JAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptxJAVA PROGRAMMING-Unit I - Final PPT.pptx
JAVA PROGRAMMING-Unit I - Final PPT.pptx
 
OOPS JAVA.pdf
OOPS JAVA.pdfOOPS JAVA.pdf
OOPS JAVA.pdf
 
Java-1st.pptx about Java technology before oops
Java-1st.pptx about Java technology before oopsJava-1st.pptx about Java technology before oops
Java-1st.pptx about Java technology before oops
 
Java@intro to java
Java@intro to javaJava@intro to java
Java@intro to java
 
Java chapter 1
Java   chapter 1Java   chapter 1
Java chapter 1
 

Recently uploaded

Recently uploaded (20)

How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 

java basic ppt introduction, The Java language is known for its robustness, security, and simplicity features. That is

  • 1. Aptech Software Ltd. Session 1 Introduction to Java
  • 2. A Simple Approach - Core Java / Session 1/ 2 of 21 Aptech Software Ltd. Objectives Explain the history of Java Explain Java in brief List the types of Java programs List Java Capabilities Explain the Java Virtual Machine (JVM) Examine the JDK and tools under it Interpret the Java Program
  • 3. A Simple Approach - Core Java / Session 1/ 3 of 21 Aptech Software Ltd. History of Java Introduced in 1995 by Sun Microsystems. Its objective was to develop a software for embedding in consumer electronic devices. Initially called ‘Oak’. Java being secure, portable, and platform- independent was found to be capable of addressing large scale problems across the Internet.
  • 4. A Simple Approach - Core Java / Session 1/ 4 of 21 Aptech Software Ltd. What is Java? An object-oriented programming language. A cross platform language. It is used to create stand-alone applications, net based programs and programs for consumer devices. Example : cellular phones, palm pilots
  • 5. A Simple Approach - Core Java / Session 1/ 5 of 21 Aptech Software Ltd. Java and the Internet A web site whose content is same, from the time it is developed. A site whose contents change once in a while. Web Pages on the Internet can either be static or dynamic. Static Site Dynamic Site
  • 6. A Simple Approach - Core Java / Session 1/ 6 of 21 Aptech Software Ltd. Types of Java Programs Applets Applications It is a program written in Java for a web application, which can be downloaded on any client system. Applets are more intelligent programs as compared to other dynamic programs on the Internet. An applet can react and respond to user inputs and actions. It is a program that runs on the computer under the operating system of the computer. The application can either be GUI based or based on command line interface.
  • 7. A Simple Approach - Core Java / Session 1/ 7 of 21 Aptech Software Ltd. Applications of Java Create a wide variety of applications from a simple computation program to complex distributed application. One can develop: Colorful scrolling banner for web pages Interactive quizzes Program that plays audio, displays a banner and animates images at the same time. Games that can run as stand alone or be deployed on the web.
  • 8. A Simple Approach - Core Java / Session 1/ 8 of 21 Aptech Software Ltd. Features of Java 3-1 Simple - The Java designers removed a number of complex features that existed in C, such as pointer manipulation, operator overloading etc. Object-Oriented - Everything is an object in Java. Therefore, the focus is on the data, and the methods that operate on the object in the application instead of procedures.
  • 9. A Simple Approach - Core Java / Session 1/ 9 of 21 Aptech Software Ltd. Features of Java 3-2 Platform-independent - It refers to the ability of the program at the source level, which allows the user to move the source code from one system to another, compile the code, and run it cleanly on a system. Robust - Java checks the code at the time of compilation, and also at the time of interpretation.
  • 10. A Simple Approach - Core Java / Session 1/ 10 of 21 Aptech Software Ltd. Features of Java 3-3 Secure - Java provides a controlled environment for the execution of the program, for which it provides several layers of security control. Distributed - Java can be used to develop applications that are portable across multiple platforms, operating systems, and graphic user interfaces. Multithreaded - Java programs use a process called ‘multithreading’ to perform many tasks simultaneously.
  • 11. A Simple Approach - Core Java / Session 1/ 11 of 21 Aptech Software Ltd. New Features of Java 1.4.2 2-1 Swing – A new set of classes and interfaces used to create an advanced GUI with a “look and feel” design. Drag and drop – The capability to interactively transfer information across different applications and from one part of a program’s interface to another. Java 2D API - A set of classes for advanced 2D graphics and imaging.
  • 12. A Simple Approach - Core Java / Session 1/ 12 of 21 Aptech Software Ltd. New Features of Java 1.4.2 2-2 Java Sound – A totally new set of characteristics pertaining to Java’s audio features. RMI - Remote Method Invocation allows applications to call object methods located at remote sites and communicate with them.
  • 13. A Simple Approach - Core Java / Session 1/ 13 of 21 Aptech Software Ltd. The Java Virtual Machine It has an interpreter component that enables communication between Java byte code and a computer’s operating system. Java code can run on any platform by using JVM. JVM normally reads and executes Java statements one at a time. JVM is responsible for platform independence. Recognizes only a particular binary format called a class file.
  • 14. A Simple Approach - Core Java / Session 1/ 14 of 21 Aptech Software Ltd. The Java Development Kit It contains the software and tools needed to compile, debug and execute applets and applications written in the Java language. It is a set of command-line tools. Some versions of the Java language are: Java 1.0 Java 1.1 Java 2 Java 1.4.2 Freely available at Sun’s official website.
  • 15. A Simple Approach - Core Java / Session 1/ 15 of 21 Aptech Software Ltd. Tools under JDK 2-1 javac: Compiler used to compile Java source code. Syntax: javac [option] source Source files end with an extension of .java Options can include: -classpath -d
  • 16. A Simple Approach - Core Java / Session 1/ 16 of 21 Aptech Software Ltd. Tools under JDK 2-2 java: Interpreter used to execute Java byte codes. java [option] classname [arguments] Options can include -classpath appletviewer: Used to view and test applets. Syntax: appletviewer [options] url
  • 17. A Simple Approach - Core Java / Session 1/ 17 of 21 Aptech Software Ltd. Analyzing the Program 3-1 The symbol /* */ indicates that the statements that follow are comments in that program. The multi line comment begins with /* and ends with */. A single line comment begins with a // and ends at the end of the line. The keyword class declares the definition of the class. It also helps the compiler to understand that it is a class declaration. The entire class definition, including all its members, is done within the open ({ ) and closed ( }) curly braces. This marks the beginning and end of the class definition block. class Message { /** * This is a main method. * @param args passed to the main method */ public static void main(String [] args) { /* Printing the message */ System.out.println("Welcome to Java World! "); } }
  • 18. A Simple Approach - Core Java / Session 1/ 18 of 21 Aptech Software Ltd. Analyzing the Program 3-2 The program execution begins from main() method. The public keyword is an access specifier, which controls the visibility and scope of class members. The static keyword allows the main() method to be called, without needing to create an instance of the class. The void keyword tells the compiler that the main() method does not return any value when it is executed.
  • 19. A Simple Approach - Core Java / Session 1/ 19 of 21 Aptech Software Ltd. Analyzing the Program 3-3 The main() method is the starting point for all Java applications. Args[] is an array of type String. The println() method displays the string that is passed to it as an argument with the help of System.out.
  • 20. A Simple Approach - Core Java / Session 1/ 20 of 21 Aptech Software Ltd. Command-Line Argument  Information can be passed to the main() method during the program execution by passing command-line arguments.  These arguments are accessed by the String parameters. class ArgumentDemo { /** * This is a main method. * @param args passed to the main method */ public static void main(String[] args) { System.out.println("The following arguments are passed during runtime"); /* Passing the command line arguments */ System.out.println(args[0]); System.out.println(args[1]); System.out.println(args[2]); } } Command-Line Argument
  • 21. A Simple Approach - Core Java / Session 1/ 21 of 21 Aptech Software Ltd. Summary  Java was introduced by Sun Microsystems in 1995.  Java is object-oriented and a cross platform language.  Applets are Java programs that run through a Java enabled web browser.  Java bytecodes are machine language instructions understood by the Java Virtual Machine (JVM) and usually generated as a result of compiling Java language source code.  A "Just-In-Time" (JIT) Java compiler produces native code from Java byte code instructions during program execution.  The Java Development Kit (JDK) contains the software and tools needed to compile, debug and execute applets and applications written in the Java language. It’s basically a set of command-line tools.  Java program can be run using command-line arguments. The data type of these arguments is of String type.