SlideShare a Scribd company logo
1 of 2
Download to read offline
The Spoken Tutorial Project
• Self-explanatory: uses simple language
• Audio-video: uses multisensory approach
• Small duration: has better retention
• Learner-centered: learn at your own pace
• Learning by doing: learn and practise
simultaneously
• Empowerment: learn a new FLOSS
(Free/Libre and Open Source Software)
Target Group
• Students- High School and College
• Working professional- Software users,
developers and trainers
• Research scholars
• Community at large
Workshops
The Spoken Tutorial Project Team conducts
workshops on Java and other FLOSS using
spoken tutorials and gives certificates to those
who pass an online test.
For more details, please visit
https://spoken-tutorial.org
Forum
We have developed a beginner friendly Forum to
answer specific questions pertaining to any part
of a particular tutorial.
For more details, please visit
https://forums.spoken-tutorial.org.
The Spoken Tutorial Project
is funded by the
National Mission on Education through
Information and Communication Technology,
Ministry of Human Resource Development,
Government of India.
Contact us
Email: contact@spoken-tutorial.org
Website: https://spoken-tutorial.org
IIT Bombay
Spoken Tutorial by IIT Bombay is licensed under a Creative
Commons Attribution-ShareAlike 4.0 International License.
All trademarks within this document belong to their legitimate owners.
Spoken Tutorial
https://spoken-tutorial.org
Scan the QR code to
visit Spoken Tutorial website
National Mission on Education through
Information and Communication
Technology
(NMEICT)
www.sakshat.ac.in
Funded by MHRD, Government of India.
Java
Introduction
• Java is the most popular class-based, object-
oriented, high-level programming language.
• Developed by James Gosling at Sun
Microsystems and released in 1995 as a core
component of Sun Microsystems' Java
platform.
• Derives much of its syntax from C and C++.
• Is typically compiled to bytecode (class file). It
can be run on any Java Virtual Machine (JVM)
regardless of the architecture.
• Is specifically designed to have few
implementation dependencies.
• Is Intended to let application developers write
a code that runs on one platform & does not
need to be recompiled to run on another.
Java has characteristics of Object-
Oriented languages
• Inheritance: Creating new classes & extending
them to reuse the existing code and adding
new features as needed.
• Encapsulation: combining the information and
providing the abstraction.
• Polymorphism: Providing different functionality
by the functions having the same name, based
on the signatures of the methods.
• Dynamic binding: Providing maximum
functionality to a program about the specific
type at runtime.
Features
Platform independence:
Key feature of Java language is write-once-run-
anywhere (WORA) concept. With Java, you can
run the code written on any system.
Simplicity:
Programs are easy to write and debug. Java
provides a bug-free system due to strong
memory management.
Portability: Java feature write-once-run-any-
where makes it portable, provided that the
system has an interpreter for JVM.
Also, Java has standard data size irrespective
of the OS or the processor.
Performance: Uses native code and lightweight
process called threads.
The advance version of JVM uses adaptive and
just-in-time compilation technique to improve the
total performance.
Distributed: Widely used protocols like HTTP
and FTP are developed in Java.
Internet programmers can call functions on
these protocols and can access the files from
any remote machine on the internet, rather than
writing codes on their local system.
Secure:
• Programs in Java run under an area known as
the sandbox.
• Security manager determines the accessibility
options of a class like reading and writing a file
to the local disk.
• Uses public key encryption system to allow the
java applications to transmit over the internet,
in a secure and encrypted form.
• The bytecode verifier checks the classes after
loading.
Robust:
Java has
• Strong memory allocation.
• Automatic garbage collection mechanism.
• Powerful exception handling.
• Type-checking mechanism.
• A compiler that checks the program for any
errors and interpreter checks any runtime
errors and makes the system secure from
crashes.

More Related Content

Similar to Java-Brochure-English(gsggsgshshssh).pdf

Introduction to Java Programming.pdf
Introduction to Java Programming.pdfIntroduction to Java Programming.pdf
Introduction to Java Programming.pdfAdiseshaK
 
Eurocall2014 SpeakApps Presentation - Speaking Practice
Eurocall2014 SpeakApps Presentation - Speaking PracticeEurocall2014 SpeakApps Presentation - Speaking Practice
Eurocall2014 SpeakApps Presentation - Speaking PracticeSpeakApps Project
 
Important features of java
Important features of javaImportant features of java
Important features of javaAL- AMIN
 
features of java.pdf about java buzzwords
features of java.pdf about java buzzwordsfeatures of java.pdf about java buzzwords
features of java.pdf about java buzzwordsshesnasuneer
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to javashwanjava
 
Java tutorial for beginners | Java Features
Java tutorial for beginners | Java FeaturesJava tutorial for beginners | Java Features
Java tutorial for beginners | Java FeaturesSpeed4Career
 
Educational technology world_wide_web1
Educational technology world_wide_web1Educational technology world_wide_web1
Educational technology world_wide_web1Lyn Len Mercado
 
JAVA object oriented programming (oop).ppt
JAVA object oriented programming (oop).pptJAVA object oriented programming (oop).ppt
JAVA object oriented programming (oop).pptAliyaJav
 
Neil squire jailbreak lms moodle accessibility
Neil squire   jailbreak lms moodle accessibilityNeil squire   jailbreak lms moodle accessibility
Neil squire jailbreak lms moodle accessibilityChad Leaman
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to JavaSoumya Suman
 
Top soft chalk
Top soft chalkTop soft chalk
Top soft chalkhbrown5018
 
Open Accessibility EverywhereGroundwork, Infrastructure, Standards
Open Accessibility EverywhereGroundwork, Infrastructure, StandardsOpen Accessibility EverywhereGroundwork, Infrastructure, Standards
Open Accessibility EverywhereGroundwork, Infrastructure, StandardsAEGIS-ACCESSIBLE Projects
 
Introduction To Java | Career Opportunities In It
Introduction To Java | Career Opportunities In ItIntroduction To Java | Career Opportunities In It
Introduction To Java | Career Opportunities In ItManojAgrawal74
 
Automation Testing - Part 2 (Things to know in JAVA) - SLT
Automation Testing - Part 2 (Things to know in JAVA) - SLTAutomation Testing - Part 2 (Things to know in JAVA) - SLT
Automation Testing - Part 2 (Things to know in JAVA) - SLTAnkit Prajapati
 
Automation Testing - Part 2 (Things to know in JAVA) - SLT
Automation Testing - Part 2 (Things to know in JAVA) - SLTAutomation Testing - Part 2 (Things to know in JAVA) - SLT
Automation Testing - Part 2 (Things to know in JAVA) - SLTAnkit Prajapati
 
C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...MCM COmpetitive Classes
 

Similar to Java-Brochure-English(gsggsgshshssh).pdf (20)

Introduction to Java Programming.pdf
Introduction to Java Programming.pdfIntroduction to Java Programming.pdf
Introduction to Java Programming.pdf
 
Eurocall2014 SpeakApps Presentation - Speaking Practice
Eurocall2014 SpeakApps Presentation - Speaking PracticeEurocall2014 SpeakApps Presentation - Speaking Practice
Eurocall2014 SpeakApps Presentation - Speaking Practice
 
Important features of java
Important features of javaImportant features of java
Important features of java
 
features of java.pdf about java buzzwords
features of java.pdf about java buzzwordsfeatures of java.pdf about java buzzwords
features of java.pdf about java buzzwords
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Java tutorial for beginners | Java Features
Java tutorial for beginners | Java FeaturesJava tutorial for beginners | Java Features
Java tutorial for beginners | Java Features
 
Educational technology world_wide_web1
Educational technology world_wide_web1Educational technology world_wide_web1
Educational technology world_wide_web1
 
Java Programming
Java ProgrammingJava Programming
Java Programming
 
JAVA object oriented programming (oop).ppt
JAVA object oriented programming (oop).pptJAVA object oriented programming (oop).ppt
JAVA object oriented programming (oop).ppt
 
Programming landuages
Programming landuagesProgramming landuages
Programming landuages
 
Neil squire jailbreak lms moodle accessibility
Neil squire   jailbreak lms moodle accessibilityNeil squire   jailbreak lms moodle accessibility
Neil squire jailbreak lms moodle accessibility
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
Introduction to oops
Introduction to oopsIntroduction to oops
Introduction to oops
 
Top soft chalk
Top soft chalkTop soft chalk
Top soft chalk
 
Open Accessibility EverywhereGroundwork, Infrastructure, Standards
Open Accessibility EverywhereGroundwork, Infrastructure, StandardsOpen Accessibility EverywhereGroundwork, Infrastructure, Standards
Open Accessibility EverywhereGroundwork, Infrastructure, Standards
 
gopal hp
gopal hpgopal hp
gopal hp
 
Introduction To Java | Career Opportunities In It
Introduction To Java | Career Opportunities In ItIntroduction To Java | Career Opportunities In It
Introduction To Java | Career Opportunities In It
 
Automation Testing - Part 2 (Things to know in JAVA) - SLT
Automation Testing - Part 2 (Things to know in JAVA) - SLTAutomation Testing - Part 2 (Things to know in JAVA) - SLT
Automation Testing - Part 2 (Things to know in JAVA) - SLT
 
Automation Testing - Part 2 (Things to know in JAVA) - SLT
Automation Testing - Part 2 (Things to know in JAVA) - SLTAutomation Testing - Part 2 (Things to know in JAVA) - SLT
Automation Testing - Part 2 (Things to know in JAVA) - SLT
 
C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...C,c++,java,php,.net training institute in delhi, best training institute for ...
C,c++,java,php,.net training institute in delhi, best training institute for ...
 

More from rohanthombre2

Student Management System presentatio.pptx
Student Management System presentatio.pptxStudent Management System presentatio.pptx
Student Management System presentatio.pptxrohanthombre2
 
Hosiptal-MS-PPT-zl64ci.pptx
Hosiptal-MS-PPT-zl64ci.pptxHosiptal-MS-PPT-zl64ci.pptx
Hosiptal-MS-PPT-zl64ci.pptxrohanthombre2
 
onlinelibrarymanagementsystem-160511065906.pdf
onlinelibrarymanagementsystem-160511065906.pdfonlinelibrarymanagementsystem-160511065906.pdf
onlinelibrarymanagementsystem-160511065906.pdfrohanthombre2
 
onlinecrimereportingsystemppt-171012174600.pdf
onlinecrimereportingsystemppt-171012174600.pdfonlinecrimereportingsystemppt-171012174600.pdf
onlinecrimereportingsystemppt-171012174600.pdfrohanthombre2
 
restaurantmanagementpresent-160801054633.pdf
restaurantmanagementpresent-160801054633.pdfrestaurantmanagementpresent-160801054633.pdf
restaurantmanagementpresent-160801054633.pdfrohanthombre2
 
87437-IOT Home Automation PPT-4-3.pptx
87437-IOT Home Automation PPT-4-3.pptx87437-IOT Home Automation PPT-4-3.pptx
87437-IOT Home Automation PPT-4-3.pptxrohanthombre2
 

More from rohanthombre2 (7)

Student Management System presentatio.pptx
Student Management System presentatio.pptxStudent Management System presentatio.pptx
Student Management System presentatio.pptx
 
Hosiptal-MS-PPT-zl64ci.pptx
Hosiptal-MS-PPT-zl64ci.pptxHosiptal-MS-PPT-zl64ci.pptx
Hosiptal-MS-PPT-zl64ci.pptx
 
onlinelibrarymanagementsystem-160511065906.pdf
onlinelibrarymanagementsystem-160511065906.pdfonlinelibrarymanagementsystem-160511065906.pdf
onlinelibrarymanagementsystem-160511065906.pdf
 
presentation.pptx
 presentation.pptx presentation.pptx
presentation.pptx
 
onlinecrimereportingsystemppt-171012174600.pdf
onlinecrimereportingsystemppt-171012174600.pdfonlinecrimereportingsystemppt-171012174600.pdf
onlinecrimereportingsystemppt-171012174600.pdf
 
restaurantmanagementpresent-160801054633.pdf
restaurantmanagementpresent-160801054633.pdfrestaurantmanagementpresent-160801054633.pdf
restaurantmanagementpresent-160801054633.pdf
 
87437-IOT Home Automation PPT-4-3.pptx
87437-IOT Home Automation PPT-4-3.pptx87437-IOT Home Automation PPT-4-3.pptx
87437-IOT Home Automation PPT-4-3.pptx
 

Recently uploaded

GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 

Recently uploaded (20)

GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 

Java-Brochure-English(gsggsgshshssh).pdf

  • 1. The Spoken Tutorial Project • Self-explanatory: uses simple language • Audio-video: uses multisensory approach • Small duration: has better retention • Learner-centered: learn at your own pace • Learning by doing: learn and practise simultaneously • Empowerment: learn a new FLOSS (Free/Libre and Open Source Software) Target Group • Students- High School and College • Working professional- Software users, developers and trainers • Research scholars • Community at large Workshops The Spoken Tutorial Project Team conducts workshops on Java and other FLOSS using spoken tutorials and gives certificates to those who pass an online test. For more details, please visit https://spoken-tutorial.org Forum We have developed a beginner friendly Forum to answer specific questions pertaining to any part of a particular tutorial. For more details, please visit https://forums.spoken-tutorial.org. The Spoken Tutorial Project is funded by the National Mission on Education through Information and Communication Technology, Ministry of Human Resource Development, Government of India. Contact us Email: contact@spoken-tutorial.org Website: https://spoken-tutorial.org IIT Bombay Spoken Tutorial by IIT Bombay is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. All trademarks within this document belong to their legitimate owners. Spoken Tutorial https://spoken-tutorial.org Scan the QR code to visit Spoken Tutorial website National Mission on Education through Information and Communication Technology (NMEICT) www.sakshat.ac.in Funded by MHRD, Government of India. Java
  • 2. Introduction • Java is the most popular class-based, object- oriented, high-level programming language. • Developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. • Derives much of its syntax from C and C++. • Is typically compiled to bytecode (class file). It can be run on any Java Virtual Machine (JVM) regardless of the architecture. • Is specifically designed to have few implementation dependencies. • Is Intended to let application developers write a code that runs on one platform & does not need to be recompiled to run on another. Java has characteristics of Object- Oriented languages • Inheritance: Creating new classes & extending them to reuse the existing code and adding new features as needed. • Encapsulation: combining the information and providing the abstraction. • Polymorphism: Providing different functionality by the functions having the same name, based on the signatures of the methods. • Dynamic binding: Providing maximum functionality to a program about the specific type at runtime. Features Platform independence: Key feature of Java language is write-once-run- anywhere (WORA) concept. With Java, you can run the code written on any system. Simplicity: Programs are easy to write and debug. Java provides a bug-free system due to strong memory management. Portability: Java feature write-once-run-any- where makes it portable, provided that the system has an interpreter for JVM. Also, Java has standard data size irrespective of the OS or the processor. Performance: Uses native code and lightweight process called threads. The advance version of JVM uses adaptive and just-in-time compilation technique to improve the total performance. Distributed: Widely used protocols like HTTP and FTP are developed in Java. Internet programmers can call functions on these protocols and can access the files from any remote machine on the internet, rather than writing codes on their local system. Secure: • Programs in Java run under an area known as the sandbox. • Security manager determines the accessibility options of a class like reading and writing a file to the local disk. • Uses public key encryption system to allow the java applications to transmit over the internet, in a secure and encrypted form. • The bytecode verifier checks the classes after loading. Robust: Java has • Strong memory allocation. • Automatic garbage collection mechanism. • Powerful exception handling. • Type-checking mechanism. • A compiler that checks the program for any errors and interpreter checks any runtime errors and makes the system secure from crashes.