SlideShare a Scribd company logo
1
JAVA
INTRODUCTION
© 2018, computersirkiclass.com, all rights reserved
2
• History of JAVA
• Advantages of JAVA
• JAVA Vs C++
• JAVA Development Kit(JDK)
• JAVA Runtime Environment
OUTLINE
3
History Of JAVA-1
• Java is a high level object-oriented programming
language developed by James Gosling at Sun
Microsystems in the early 1990s.
• James Gosling was unhappy using c++ programming
language so he developed Java.
• Originally designed in (1991) as a small language for
consumer electronics (cable boxes, toasters etc.)
• A team of Sun Microsystems in the guidance of
James Gosling decided to develop an advanced
programming language for the betterment of
consumer electronic devices.
4
History Of JAVA-2
• They developed a platform independent
software based on the power of networks
that can run on different application areas,
such as computers and electronic devices.
• It was initially called 'Oak‘.
• It was renamed as 'JAVA' released in 1995
as a core component of Sun Microsystems
Java platform.
5
Java Versions
Version Date
JDK 1.0 23-Jan-1996
JDK 1.1 19-feb-1997
J2SE 1.2 8-Dec-1998
J2SE 1.3 8-May-2000
J2SE 1.4 06-Feb-2002
J2SE 5.0 30-Sep-2004
Java SE 6 11-Dec-2006
Java SE 7 28-July-2011
Other Version of JAVA along with their release dates -
6
Advantages Of JAVA
• Simple & Familiar
• Object-Oriented
• Compiled & Interpreted
• Platform Independent &Portable
• Robust
• Secure
• Distributed
• Multithreaded
• Dynamic & Extensible.
7
Simple & Familiar
• Java was designed to be simple
and familiar to learn language.
• Fundamental concepts can be
grasped quickly as the features
borrowed from C & C++.
• Features were removed that led
to poor programming practices
or were rarely used.
• It does not use pointers, goto
statement, Preprocessor header
files etc.
8
Object-Oriented
• All coding and data reside within object and
classes.
• Java has built-In exception handling.
• Everything in Java (except the primitive
data types) is an object.
• The object model in java is simple and easy
to extend so that complex programming
problems can be reduced to simple solutions.
• Extensive set of classes, arranged in packages
e.g. java.awt, java.io, java.net .
9
Compiled & Interpreted
• Java is both a compiled
and Interpreted language.
• Java Compiler generates
platform-independent
byte codes that are
interpreted into machine
readable instructions by a
Java Virtual Machine
(Java Interpreter) at
runtime.
10
Platform-Independent & Portable
• Java programs are designed to work
in a networked environment on a
variety of computers and operating
systems.
• The size of the primitive data types
are machine independent.
• Compiler generates platform-
independent byte codes rather than
native machine code, so it can be
implemented on any machine.
11
Robust
• Java has hard-and-fast rules for
compile-time and runtime error
checking.
• Java supports automatic garbage
collection so all memory
corruptions or unauthorized
memory accesses are impossible.
• Many error-prone features of
C/C++ programming were
removed.
12
Secure
• Usage in networked environment
requires more security.
• JVM verifies all byte codes before
execution & ensures all programs
follow the rules regarding object access
and usage.
• Java ensures that program cannot
gain access to memory locations
without proper authorization.
13
Distributed
• Java is network friendly.
• Java is designed as a distributed
language for creating
applications on networks.
• Multiple programmers can
work together on a single
project from multiple remote
locations.
• Both data and programs can
be shared on networks.
14
Multithreaded
• This feature allows us to handle
multiple tasks simultaneously.
• Designed to run multiple
threads.
• Easy to implement.
• Other systems have provided
facilities via light weight
libraries, but Java has in-built
language support.
• Great for multimedia displays.
15
Dynamic & Extensible
• Provides a highly dynamic
runtime environment.
• Allows dynamically linking in new
class libraries, methods and
objects.
• New code can be linked on
demand from anywhere on the
network and new types can be
created as needed dynamically.
16
• Class definitions take the similar form in java as in C++, but there
is no closing semicolon.
• Operator overloading is not possible in java.
• Java has no templates as in C++.
• Java doesn’t provide direct support for multiple inheritance of
classes. We can accomplish multiple inheritance using a new
feature called ‘interface’.
• Java does not support global variables. Every variables and
method is declared within class and forms part of that class.
• Java doesn’t use pointers.
• The destructor function is replaced with a finalize() function.
• There are no header files in java.
• Java supports multithreading.
JAVA Vs C++
17
JDK is a free software development package from Sun Microsystems. Java
Development Kit (JDK) contains tools needed to develop the Java
programs, and JRE to run the programs. The Basic tools are-
• appletviewer – Run and debug applets without a web browser.
• Java – The java interpreter runs the Java applets & applications by
reading and interpreting byte code files. The same launcher is
used for deployment and development purpose.
• Javac – This is the core of java, which translates the java source code to
bytecode files that the interpreter can understand.
• javadoc – It is used to generate API documentation.
• javah – Produces header files for use with native methods.
• javap – Java disassembler, which enables us to convert bytecode files
into a program description.
• jdb – Java Debugger, which helps us to find errors in our programs.
JAVA Development Kit
18
• Java Runtime Environment contains JVM, class libraries, and other
supporting files. It does not contain any development tools such as compiler,
debugger, etc. Actually JVM runs the program, and it uses the class libraries,
and other supporting files provided in JRE. If you want to run any java
program, you need to have JRE installed in the system. It primarily contains-
• Java Virtual Machine – interprets the intermediate java byte code and
generates the desired output.
• Runtime class libraries – contains set of class libraries.
• User Interface Toolkits – AWT and Swing are examples of toolkits that
support various input methods for the users to interact with the application
program.
• Deployment Technologies –
– Java plug-in: for execution of a Java applet on the browser.
– Java web Start: for remote deployment of an application.
JAVA Runtime Environment
19
• talk at me at
sir@computersirkiclass.com
• Share this information with as
many people as possible.
• Keep visiting
www.computersirkiclass.com for
programme updates.
Ad

More Related Content

What's hot (20)

Java Programming
Java ProgrammingJava Programming
Java Programming
Elizabeth alexander
 
Core java
Core java Core java
Core java
Shubham singh
 
Basic of Java
Basic of JavaBasic of Java
Basic of Java
Ajeet Kumar Verma
 
Introduction to basics of java
Introduction to basics of javaIntroduction to basics of java
Introduction to basics of java
vinay arora
 
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...
Mr. Akaash
 
Industrial Training Report on Java Technology.
Industrial Training Report on Java Technology.Industrial Training Report on Java Technology.
Industrial Training Report on Java Technology.
Ritesh Kumar Bhanu
 
Training on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan SanidhyaTraining on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan Sanidhya
Shravan Sanidhya
 
Presentation on Core java
Presentation on Core javaPresentation on Core java
Presentation on Core java
mahir jain
 
History of java'
History of java'History of java'
History of java'
deepthisujithra
 
Java
JavaJava
Java
Tony Nguyen
 
Java seminar
Java seminarJava seminar
Java seminar
devendrakhairwa
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
Sujit Majety
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
Java Lover
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
Sandeep Rawat
 
Learn Java with Dr. Rifat Shahriyar
Learn Java with Dr. Rifat ShahriyarLearn Java with Dr. Rifat Shahriyar
Learn Java with Dr. Rifat Shahriyar
Abir Mohammad
 
Java Presentation For Syntax
Java Presentation For SyntaxJava Presentation For Syntax
Java Presentation For Syntax
PravinYalameli
 
JVM
JVMJVM
JVM
baabtra.com - No. 1 supplier of quality freshers
 
History Of JAVA
History Of JAVAHistory Of JAVA
History Of JAVA
ARSLANAHMED107
 
Core Java
Core JavaCore Java
Core Java
Priyanka Pradhan
 
Applets in java
Applets in javaApplets in java
Applets in java
Wani Zahoor
 

Similar to Java Introduction (20)

Object Oriented Programming Part 1 of Unit 1
Object Oriented Programming Part 1 of Unit 1Object Oriented Programming Part 1 of Unit 1
Object Oriented Programming Part 1 of Unit 1
VigneshkumarPonnusam1
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
CDSukte
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
RajeshSukte1
 
java basics concepts and the keywords needed
java basics concepts and the keywords neededjava basics concepts and the keywords needed
java basics concepts and the keywords needed
PriyadharshiniG41
 
1.Intro--Why Java.pptx
1.Intro--Why Java.pptx1.Intro--Why Java.pptx
1.Intro--Why Java.pptx
YounasKhan542109
 
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptxJAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
 
java full 1.docx
java full 1.docxjava full 1.docx
java full 1.docx
SATHYAKALAKSKPRCASBS
 
java full.docx
java full.docxjava full.docx
java full.docx
SATHYAKALAKSKPRCASBS
 
java completed units.docx
java completed units.docxjava completed units.docx
java completed units.docx
SATHYAKALAKSKPRCASBS
 
Introduction to Core Java feature and its characteristics
Introduction to Core Java feature and its characteristicsIntroduction to Core Java feature and its characteristics
Introduction to Core Java feature and its characteristics
rashmishekhar81
 
java full 1 (Recovered).docx
java full 1 (Recovered).docxjava full 1 (Recovered).docx
java full 1 (Recovered).docx
SATHYAKALAKSKPRCASBS
 
Java ppt-class_Introduction_class_Objects.ppt
Java ppt-class_Introduction_class_Objects.pptJava ppt-class_Introduction_class_Objects.ppt
Java ppt-class_Introduction_class_Objects.ppt
VGaneshKarthikeyan
 
1 java intro
1 java intro1 java intro
1 java intro
abdullah al mahamud rosi
 
1 java introduction
1 java introduction1 java introduction
1 java introduction
abdullah al mahamud rosi
 
Java ppt-class_basic data types methods definitions
Java ppt-class_basic data types methods definitionsJava ppt-class_basic data types methods definitions
Java ppt-class_basic data types methods definitions
ganeshkarthy
 
Introduction to JAVA
Introduction to JAVAIntroduction to JAVA
Introduction to JAVA
Md. Tanvir Hossain
 
Java (1)
Java (1)Java (1)
Java (1)
Samraiz Tejani
 
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
10322210023
 
Object Oriented Programming Part 1 of Unit 1
Object Oriented Programming Part 1 of Unit 1Object Oriented Programming Part 1 of Unit 1
Object Oriented Programming Part 1 of Unit 1
VigneshkumarPonnusam1
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
CDSukte
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
RajeshSukte1
 
java basics concepts and the keywords needed
java basics concepts and the keywords neededjava basics concepts and the keywords needed
java basics concepts and the keywords needed
PriyadharshiniG41
 
Introduction to Core Java feature and its characteristics
Introduction to Core Java feature and its characteristicsIntroduction to Core Java feature and its characteristics
Introduction to Core Java feature and its characteristics
rashmishekhar81
 
Java ppt-class_Introduction_class_Objects.ppt
Java ppt-class_Introduction_class_Objects.pptJava ppt-class_Introduction_class_Objects.ppt
Java ppt-class_Introduction_class_Objects.ppt
VGaneshKarthikeyan
 
Java ppt-class_basic data types methods definitions
Java ppt-class_basic data types methods definitionsJava ppt-class_basic data types methods definitions
Java ppt-class_basic data types methods definitions
ganeshkarthy
 
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
10322210023
 
Ad

More from sunmitraeducation (20)

Installing JDK and first java program
Installing JDK and first java programInstalling JDK and first java program
Installing JDK and first java program
sunmitraeducation
 
Project1 VB
Project1 VBProject1 VB
Project1 VB
sunmitraeducation
 
Project1 CS
Project1 CSProject1 CS
Project1 CS
sunmitraeducation
 
Grid Vew Control VB
Grid Vew Control VBGrid Vew Control VB
Grid Vew Control VB
sunmitraeducation
 
Grid View Control CS
Grid View Control CSGrid View Control CS
Grid View Control CS
sunmitraeducation
 
Ms Access
Ms AccessMs Access
Ms Access
sunmitraeducation
 
Database Basics Theory
Database Basics TheoryDatabase Basics Theory
Database Basics Theory
sunmitraeducation
 
Visual Web Developer and Web Controls VB set 3
Visual Web Developer and Web Controls VB set 3Visual Web Developer and Web Controls VB set 3
Visual Web Developer and Web Controls VB set 3
sunmitraeducation
 
Visual Web Developer and Web Controls CS set 3
Visual Web Developer and Web Controls CS set 3Visual Web Developer and Web Controls CS set 3
Visual Web Developer and Web Controls CS set 3
sunmitraeducation
 
Progamming Primer Polymorphism (Method Overloading) VB
Progamming Primer Polymorphism (Method Overloading) VBProgamming Primer Polymorphism (Method Overloading) VB
Progamming Primer Polymorphism (Method Overloading) VB
sunmitraeducation
 
Programming Primer EncapsulationVB
Programming Primer EncapsulationVBProgramming Primer EncapsulationVB
Programming Primer EncapsulationVB
sunmitraeducation
 
Programming Primer Encapsulation CS
Programming Primer Encapsulation CSProgramming Primer Encapsulation CS
Programming Primer Encapsulation CS
sunmitraeducation
 
Programming Primer Inheritance VB
Programming Primer Inheritance VBProgramming Primer Inheritance VB
Programming Primer Inheritance VB
sunmitraeducation
 
Programming Primer Inheritance CS
Programming Primer Inheritance CSProgramming Primer Inheritance CS
Programming Primer Inheritance CS
sunmitraeducation
 
ProgrammingPrimerAndOOPS
ProgrammingPrimerAndOOPSProgrammingPrimerAndOOPS
ProgrammingPrimerAndOOPS
sunmitraeducation
 
Web Server Controls VB Set 1
Web Server Controls VB Set 1Web Server Controls VB Set 1
Web Server Controls VB Set 1
sunmitraeducation
 
Web Server Controls CS Set
Web Server Controls CS Set Web Server Controls CS Set
Web Server Controls CS Set
sunmitraeducation
 
Web Controls Set-1
Web Controls Set-1Web Controls Set-1
Web Controls Set-1
sunmitraeducation
 
Understanding IDEs
Understanding IDEsUnderstanding IDEs
Understanding IDEs
sunmitraeducation
 
Html Server Image Control VB
Html Server Image Control VBHtml Server Image Control VB
Html Server Image Control VB
sunmitraeducation
 
Ad

Recently uploaded (20)

Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko
Fwdays
 
Datastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptxDatastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptx
kaleeswaric3
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Image processinglab image processing image processing
Image processinglab image processing  image processingImage processinglab image processing  image processing
Image processinglab image processing image processing
RaghadHany
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko"Rebranding for Growth", Anna Velykoivanenko
"Rebranding for Growth", Anna Velykoivanenko
Fwdays
 
Datastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptxDatastucture-Unit 4-Linked List Presentation.pptx
Datastucture-Unit 4-Linked List Presentation.pptx
kaleeswaric3
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical DebtBuckeye Dreamin 2024: Assessing and Resolving Technical Debt
Buckeye Dreamin 2024: Assessing and Resolving Technical Debt
Lynda Kane
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
"PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System""PHP and MySQL CRUD Operations for Student Management System"
"PHP and MySQL CRUD Operations for Student Management System"
Jainul Musani
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from AnywhereAutomation Hour 1/28/2022: Capture User Feedback from Anywhere
Automation Hour 1/28/2022: Capture User Feedback from Anywhere
Lynda Kane
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 

Java Introduction

  • 2. 2 • History of JAVA • Advantages of JAVA • JAVA Vs C++ • JAVA Development Kit(JDK) • JAVA Runtime Environment OUTLINE
  • 3. 3 History Of JAVA-1 • Java is a high level object-oriented programming language developed by James Gosling at Sun Microsystems in the early 1990s. • James Gosling was unhappy using c++ programming language so he developed Java. • Originally designed in (1991) as a small language for consumer electronics (cable boxes, toasters etc.) • A team of Sun Microsystems in the guidance of James Gosling decided to develop an advanced programming language for the betterment of consumer electronic devices.
  • 4. 4 History Of JAVA-2 • They developed a platform independent software based on the power of networks that can run on different application areas, such as computers and electronic devices. • It was initially called 'Oak‘. • It was renamed as 'JAVA' released in 1995 as a core component of Sun Microsystems Java platform.
  • 5. 5 Java Versions Version Date JDK 1.0 23-Jan-1996 JDK 1.1 19-feb-1997 J2SE 1.2 8-Dec-1998 J2SE 1.3 8-May-2000 J2SE 1.4 06-Feb-2002 J2SE 5.0 30-Sep-2004 Java SE 6 11-Dec-2006 Java SE 7 28-July-2011 Other Version of JAVA along with their release dates -
  • 6. 6 Advantages Of JAVA • Simple & Familiar • Object-Oriented • Compiled & Interpreted • Platform Independent &Portable • Robust • Secure • Distributed • Multithreaded • Dynamic & Extensible.
  • 7. 7 Simple & Familiar • Java was designed to be simple and familiar to learn language. • Fundamental concepts can be grasped quickly as the features borrowed from C & C++. • Features were removed that led to poor programming practices or were rarely used. • It does not use pointers, goto statement, Preprocessor header files etc.
  • 8. 8 Object-Oriented • All coding and data reside within object and classes. • Java has built-In exception handling. • Everything in Java (except the primitive data types) is an object. • The object model in java is simple and easy to extend so that complex programming problems can be reduced to simple solutions. • Extensive set of classes, arranged in packages e.g. java.awt, java.io, java.net .
  • 9. 9 Compiled & Interpreted • Java is both a compiled and Interpreted language. • Java Compiler generates platform-independent byte codes that are interpreted into machine readable instructions by a Java Virtual Machine (Java Interpreter) at runtime.
  • 10. 10 Platform-Independent & Portable • Java programs are designed to work in a networked environment on a variety of computers and operating systems. • The size of the primitive data types are machine independent. • Compiler generates platform- independent byte codes rather than native machine code, so it can be implemented on any machine.
  • 11. 11 Robust • Java has hard-and-fast rules for compile-time and runtime error checking. • Java supports automatic garbage collection so all memory corruptions or unauthorized memory accesses are impossible. • Many error-prone features of C/C++ programming were removed.
  • 12. 12 Secure • Usage in networked environment requires more security. • JVM verifies all byte codes before execution & ensures all programs follow the rules regarding object access and usage. • Java ensures that program cannot gain access to memory locations without proper authorization.
  • 13. 13 Distributed • Java is network friendly. • Java is designed as a distributed language for creating applications on networks. • Multiple programmers can work together on a single project from multiple remote locations. • Both data and programs can be shared on networks.
  • 14. 14 Multithreaded • This feature allows us to handle multiple tasks simultaneously. • Designed to run multiple threads. • Easy to implement. • Other systems have provided facilities via light weight libraries, but Java has in-built language support. • Great for multimedia displays.
  • 15. 15 Dynamic & Extensible • Provides a highly dynamic runtime environment. • Allows dynamically linking in new class libraries, methods and objects. • New code can be linked on demand from anywhere on the network and new types can be created as needed dynamically.
  • 16. 16 • Class definitions take the similar form in java as in C++, but there is no closing semicolon. • Operator overloading is not possible in java. • Java has no templates as in C++. • Java doesn’t provide direct support for multiple inheritance of classes. We can accomplish multiple inheritance using a new feature called ‘interface’. • Java does not support global variables. Every variables and method is declared within class and forms part of that class. • Java doesn’t use pointers. • The destructor function is replaced with a finalize() function. • There are no header files in java. • Java supports multithreading. JAVA Vs C++
  • 17. 17 JDK is a free software development package from Sun Microsystems. Java Development Kit (JDK) contains tools needed to develop the Java programs, and JRE to run the programs. The Basic tools are- • appletviewer – Run and debug applets without a web browser. • Java – The java interpreter runs the Java applets & applications by reading and interpreting byte code files. The same launcher is used for deployment and development purpose. • Javac – This is the core of java, which translates the java source code to bytecode files that the interpreter can understand. • javadoc – It is used to generate API documentation. • javah – Produces header files for use with native methods. • javap – Java disassembler, which enables us to convert bytecode files into a program description. • jdb – Java Debugger, which helps us to find errors in our programs. JAVA Development Kit
  • 18. 18 • Java Runtime Environment contains JVM, class libraries, and other supporting files. It does not contain any development tools such as compiler, debugger, etc. Actually JVM runs the program, and it uses the class libraries, and other supporting files provided in JRE. If you want to run any java program, you need to have JRE installed in the system. It primarily contains- • Java Virtual Machine – interprets the intermediate java byte code and generates the desired output. • Runtime class libraries – contains set of class libraries. • User Interface Toolkits – AWT and Swing are examples of toolkits that support various input methods for the users to interact with the application program. • Deployment Technologies – – Java plug-in: for execution of a Java applet on the browser. – Java web Start: for remote deployment of an application. JAVA Runtime Environment
  • 19. 19 • talk at me at [email protected] • Share this information with as many people as possible. • Keep visiting www.computersirkiclass.com for programme updates.