SlideShare uma empresa Scribd logo
1 de 20
Introduction To Java
CONTENTS
1. What is Java?
2. History of Java
3. Features of Java
• Object Oriented
• Platform Independent
• Multithreading
• Simple
• Secure
• Architectural Neutral
• Portable
• Robust
4. Why Java
5. Application
• Java is a simple, robust, secure, portable and object-
oriented popular programming language.
What is Java?
• Java is widely used in software as well as hardware
controlling software components.
• There are more than 3 billion devices that run Java.
• Java runs on various platforms, such as Windows,
Mac OS, and the various versions of UNIX.
History of Java
I.
• It was created by a team of members called
"Green" initiated by James Gosling, Mike
Sheridan, and Patrick Naughton.
• When Java was created in 1991, first it was
called Greentalk and then Oak, and then Java’s
name was chosen by James Gosling while
having a cup of coffee nearby his office.
• It is open-source software under GNU General
Public License.
• Its first version was introduced in 1995.
• Sun Microsystems revealed its first public
implementation in 1996 as Java 1.0.
Feature of Java
Encapsulation
Abstraction
Encapsulation is a property that is defined
as wrapping up data in a single unit. It can
be achieved in java by making all data
member private and then providing public
setter and getter methods to modify and
view the values of the variables.
Abstraction is a property in which only
essential details are displayed to the
users and unwanted details are hidden
from the users. We can achieve this by
interfaces and abstract classes.
Object Oriented
The four main concepts of Object-Oriented
programming are as under:
Inheritance
Inheritance is a property in
which a child class inherits
behaviors and properties of its
parent class. It is used to
achieve run time polymorphism
i.e. method overriding.
Polymorphism
Polymorphism is a property
that allows performing single
action in different ways. It
supports a single variable
name for multiple data types
and also reduces coupling
between different
functionality.
Platform Independent
• The compiler transforms source code to bytecode and then the JVM
runs the bytecode generated by the compiler. This bytecode can run
on any Operating System which means if we compile a program on
Windows, then we can run it on Linux and vice versa.
• Each OS has a different JVM, but the output by all the OS is the
same after the execution of bytecode.
Multithreading
• The main purpose of multithreading is to provide concurrent
execution of two or more parts of a program to maximum utilize
the CPU time.
• It utilizes the same memory and other resources to execute
multiple threads at the same time along with typing, checking
grammatical errors.
Simple
• It has simple, and clean syntax which is easy
to understand.
• It does not have complex features like
pointers, operator overloading, multiple
inheritances, Explicit memory allocation.
Hence it is one of the simple programming
languages.
• In java, there are no pointers, so we cannot access out-
of-bound arrays i.e. it shows ArrayIndexOutOfBound
Exception if we try to do so.
• Java programs run inside a virtual machine which is
known as a sandbox.
Secure
Architectural Neutral
• There is no implementation-dependent feature in java.
• Compiler generates bytecodes, which have nothing to do
with specific computer architecture, therefore a Java
Program is easy to interpret on any machine.
• You can run Java bytecode on any hardware that has a Java
interpreter.
• It doesn’t require any implementation.
Portable
Robust
Why
Java
• Portable
• Easy to Learn and use
• Secure, Fast and Powerful
• Open source and free
• Works on different platform
Applications
• Mobile applications (specially Android apps)
• Desktop applications
• Games
• Web servers and application servers
• Web applications
• Desktop applications
THANKS!
If you are interested in doing Java
Training then you can contact us on
+91-9212172602
query@cetpainfotech.com
http://traininginnoida.in/

Mais conteúdo relacionado

Mais procurados

Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
jaimefrozr
 
Looping statements in Java
Looping statements in JavaLooping statements in Java
Looping statements in Java
Jin Castor
 
Genesis and Overview of Java
Genesis and Overview of Java Genesis and Overview of Java
Genesis and Overview of Java
Ravi_Kant_Sahu
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
aitrichtech
 

Mais procurados (20)

Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
 
Introduction to Java
Introduction to Java Introduction to Java
Introduction to Java
 
Introduction to JAVA
Introduction to JAVAIntroduction to JAVA
Introduction to JAVA
 
Introduction to basics of java
Introduction to basics of javaIntroduction to basics of java
Introduction to basics of java
 
Java Programming
Java ProgrammingJava Programming
Java Programming
 
Basic Java Programming
Basic Java ProgrammingBasic Java Programming
Basic Java Programming
 
JVM
JVMJVM
JVM
 
Advance Java Topics (J2EE)
Advance Java Topics (J2EE)Advance Java Topics (J2EE)
Advance Java Topics (J2EE)
 
Core Java
Core JavaCore Java
Core Java
 
Tomcat
TomcatTomcat
Tomcat
 
Looping statements in Java
Looping statements in JavaLooping statements in Java
Looping statements in Java
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Introduction to Basic Java Versions and their features
Introduction to Basic Java Versions and their featuresIntroduction to Basic Java Versions and their features
Introduction to Basic Java Versions and their features
 
Genesis and Overview of Java
Genesis and Overview of Java Genesis and Overview of Java
Genesis and Overview of Java
 
Java basics
Java basicsJava basics
Java basics
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
 
Java tutorial PPT
Java tutorial PPTJava tutorial PPT
Java tutorial PPT
 
Java seminar
Java seminarJava seminar
Java seminar
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
 

Semelhante a Introduction to Java

PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
CDSukte
 
Unit 1 Core Java for Compter Science 3rd
Unit 1 Core Java for Compter Science 3rdUnit 1 Core Java for Compter Science 3rd
Unit 1 Core Java for Compter Science 3rd
prat0ham
 
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
 

Semelhante a Introduction to Java (20)

1 java introduction
1 java introduction1 java introduction
1 java introduction
 
1 java intro
1 java intro1 java intro
1 java intro
 
L1 basics
L1 basicsL1 basics
L1 basics
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.pptPPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
 
Java fundamentals
Java fundamentalsJava fundamentals
Java fundamentals
 
Unit 1 Core Java for Compter Science 3rd
Unit 1 Core Java for Compter Science 3rdUnit 1 Core Java for Compter Science 3rd
Unit 1 Core Java for Compter Science 3rd
 
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
 
Class_01.pptx
Class_01.pptxClass_01.pptx
Class_01.pptx
 
Chapter-1 Introduction.pptx
Chapter-1 Introduction.pptxChapter-1 Introduction.pptx
Chapter-1 Introduction.pptx
 
Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
JAVA INTRODUCTION - 1
JAVA INTRODUCTION - 1JAVA INTRODUCTION - 1
JAVA INTRODUCTION - 1
 
Java Ch 1.pptx
Java Ch 1.pptxJava Ch 1.pptx
Java Ch 1.pptx
 
Features of Java.pptx
Features of Java.pptxFeatures of Java.pptx
Features of Java.pptx
 
JAVA object oriented programming (oop).ppt
JAVA object oriented programming (oop).pptJAVA object oriented programming (oop).ppt
JAVA object oriented programming (oop).ppt
 
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
 
Chapter 1 java
Chapter 1 java Chapter 1 java
Chapter 1 java
 
Introduction To Java history, application, features.pptx
Introduction To Java history, application, features.pptxIntroduction To Java history, application, features.pptx
Introduction To Java history, application, features.pptx
 
Unit-INP.ppt
Unit-INP.pptUnit-INP.ppt
Unit-INP.ppt
 
Getting Started with JAVA
Getting Started with JAVAGetting Started with JAVA
Getting Started with JAVA
 

Mais de Soumya Suman

Mais de Soumya Suman (19)

Important Things About Machine Learning
Important Things About Machine LearningImportant Things About Machine Learning
Important Things About Machine Learning
 
The Ultimate Machine Learning Career Path for 2022
The Ultimate Machine Learning Career Path for 2022The Ultimate Machine Learning Career Path for 2022
The Ultimate Machine Learning Career Path for 2022
 
Career In SAP- Know The Best Things
Career In SAP- Know The Best ThingsCareer In SAP- Know The Best Things
Career In SAP- Know The Best Things
 
Why choose Software Testing as a career
Why choose Software Testing as a careerWhy choose Software Testing as a career
Why choose Software Testing as a career
 
Basic Things You Need To Know About C Programming
Basic Things You Need To Know About  C ProgrammingBasic Things You Need To Know About  C Programming
Basic Things You Need To Know About C Programming
 
Corporate Training A Strategy For Success
Corporate Training A Strategy For SuccessCorporate Training A Strategy For Success
Corporate Training A Strategy For Success
 
All The Basics You Need To Know About Software Testing
All The Basics You Need To Know About Software TestingAll The Basics You Need To Know About Software Testing
All The Basics You Need To Know About Software Testing
 
Introduction To Kotlin - Google Official Programming Language
Introduction To Kotlin - Google Official Programming LanguageIntroduction To Kotlin - Google Official Programming Language
Introduction To Kotlin - Google Official Programming Language
 
Solidworks Career- Everything You Need To Know
Solidworks Career-  Everything You Need To KnowSolidworks Career-  Everything You Need To Know
Solidworks Career- Everything You Need To Know
 
Why Should You Consider Android Development As A Career
Why Should You Consider Android Development As A CareerWhy Should You Consider Android Development As A Career
Why Should You Consider Android Development As A Career
 
Accelerate Your Cloud Computing Career Path
Accelerate Your Cloud Computing Career PathAccelerate Your Cloud Computing Career Path
Accelerate Your Cloud Computing Career Path
 
Cracking The Solidworks Career Code
Cracking The Solidworks Career CodeCracking The Solidworks Career Code
Cracking The Solidworks Career Code
 
A beginner's guide to cloud computing
A beginner's guide to cloud computing A beginner's guide to cloud computing
A beginner's guide to cloud computing
 
Important Things You Need To Know About Before Starting Your AutoCAD Career
Important Things You Need To Know About Before Starting Your AutoCAD CareerImportant Things You Need To Know About Before Starting Your AutoCAD Career
Important Things You Need To Know About Before Starting Your AutoCAD Career
 
Who Else wants To Be Successful With Java Career Path
Who Else wants To Be Successful With Java Career PathWho Else wants To Be Successful With Java Career Path
Who Else wants To Be Successful With Java Career Path
 
Career Opportunities in Digital Marketing
Career Opportunities in Digital MarketingCareer Opportunities in Digital Marketing
Career Opportunities in Digital Marketing
 
An Ultimate Beginner's Guide to SEO
An Ultimate Beginner's Guide to SEO An Ultimate Beginner's Guide to SEO
An Ultimate Beginner's Guide to SEO
 
Beginner's Overview of Cloud Computing
Beginner's Overview of Cloud ComputingBeginner's Overview of Cloud Computing
Beginner's Overview of Cloud Computing
 
Java Career Path
Java Career PathJava Career Path
Java Career Path
 

Último

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Último (20)

Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 

Introduction to Java

  • 2. CONTENTS 1. What is Java? 2. History of Java 3. Features of Java • Object Oriented • Platform Independent • Multithreading • Simple • Secure • Architectural Neutral • Portable • Robust 4. Why Java 5. Application
  • 3. • Java is a simple, robust, secure, portable and object- oriented popular programming language. What is Java? • Java is widely used in software as well as hardware controlling software components. • There are more than 3 billion devices that run Java. • Java runs on various platforms, such as Windows, Mac OS, and the various versions of UNIX.
  • 5. • It was created by a team of members called "Green" initiated by James Gosling, Mike Sheridan, and Patrick Naughton. • When Java was created in 1991, first it was called Greentalk and then Oak, and then Java’s name was chosen by James Gosling while having a cup of coffee nearby his office. • It is open-source software under GNU General Public License. • Its first version was introduced in 1995. • Sun Microsystems revealed its first public implementation in 1996 as Java 1.0.
  • 7. Encapsulation Abstraction Encapsulation is a property that is defined as wrapping up data in a single unit. It can be achieved in java by making all data member private and then providing public setter and getter methods to modify and view the values of the variables. Abstraction is a property in which only essential details are displayed to the users and unwanted details are hidden from the users. We can achieve this by interfaces and abstract classes. Object Oriented The four main concepts of Object-Oriented programming are as under:
  • 8. Inheritance Inheritance is a property in which a child class inherits behaviors and properties of its parent class. It is used to achieve run time polymorphism i.e. method overriding. Polymorphism Polymorphism is a property that allows performing single action in different ways. It supports a single variable name for multiple data types and also reduces coupling between different functionality.
  • 9. Platform Independent • The compiler transforms source code to bytecode and then the JVM runs the bytecode generated by the compiler. This bytecode can run on any Operating System which means if we compile a program on Windows, then we can run it on Linux and vice versa. • Each OS has a different JVM, but the output by all the OS is the same after the execution of bytecode.
  • 10. Multithreading • The main purpose of multithreading is to provide concurrent execution of two or more parts of a program to maximum utilize the CPU time. • It utilizes the same memory and other resources to execute multiple threads at the same time along with typing, checking grammatical errors.
  • 11. Simple • It has simple, and clean syntax which is easy to understand. • It does not have complex features like pointers, operator overloading, multiple inheritances, Explicit memory allocation. Hence it is one of the simple programming languages.
  • 12. • In java, there are no pointers, so we cannot access out- of-bound arrays i.e. it shows ArrayIndexOutOfBound Exception if we try to do so. • Java programs run inside a virtual machine which is known as a sandbox. Secure
  • 13. Architectural Neutral • There is no implementation-dependent feature in java. • Compiler generates bytecodes, which have nothing to do with specific computer architecture, therefore a Java Program is easy to interpret on any machine.
  • 14. • You can run Java bytecode on any hardware that has a Java interpreter. • It doesn’t require any implementation. Portable
  • 17. • Portable • Easy to Learn and use • Secure, Fast and Powerful • Open source and free • Works on different platform
  • 19. • Mobile applications (specially Android apps) • Desktop applications • Games • Web servers and application servers • Web applications • Desktop applications
  • 20. THANKS! If you are interested in doing Java Training then you can contact us on +91-9212172602 query@cetpainfotech.com http://traininginnoida.in/