SlideShare a Scribd company logo
JAVA PROGRAMMING
INTRODUCTION
What is java?
 Developed by Sun Microsystems (James Gosling)
 A general-purpose object-oriented language
 Based on C/C++
 Designed for easy Web/Internet applications
 Now developing by Oracle
JAVA - AN INTRODUCTION
• Java - The new programming language developed by Sun Microsystems in 1991.
• Originally called Oak by James Gosling, one of the inventors of the Java Language.
• Java -The name that survived a patent search
• Java Authors: James , Arthur Van , and others
• Java is really “C++ -- ++ “
JAVA INTRODUCTION
• Originally created for consumer electronics (TV, VCR, Freeze, Washing
Machine, Mobile Phone).
• Java - CPU Independent language
• Internet and Web was just emerging, so Sun turned it into a language of
Internet Programming.
• It allows you to publish a webpage with Java code in it.
JAVA FEATURES
• Simple
• fixes some clumsy features of C++
• no pointers
• automatic garbage collection
• rich pre-defined class library http://java.sun.com/j2se/1.4.2/docs/api/
• Object oriented
• focus on the data (objects) and methods manipulating the data
• all functions are associated with objects
• almost all datatypes are objects (files, strings, etc.)
• potentially better code organization and reuse
JAVA FEATURES
• Interpreted
• java compiler generate byte-codes, not native machine code
• the compiled byte-codes are platform-independent
• java bytecodes are translated on the fly to machine readable
instructions in runtime (Java Virtual Machine)
• Portable
• same application runs on all platforms
• the sizes of the primitive data types are always the same
• the libraries define portable interfaces
JAVA FEATURES
• Reliable
• extensive compile-time and runtime error checking
• no pointers but real arrays. Memory corruptions or unauthorized
memory accesses are impossible
• automatic garbage collection tracks objects usage over time
• Secure
• usage in networked environments requires more security
• memory allocation model is a major defense
• access restrictions are forced (private, public)
JAVA FEATURES
• Multithreaded
• multiple concurrent threads of executions can run simultaneously
• utilizes a sophisticated set of synchronization primitives (based on
monitors and condition variables paradigm) to achieve this
• Dynamic
• java is designed to adapt to evolving environment
• libraries can freely add new methods and instance variables without
any effect on their clients
• can check the class type in runtime

More Related Content

PPTX
Java introduction by lara technologies
PPTX
FEATURES OF JAVA
PPT
PALASH SL GUPTA
PPTX
JAVA FEATURES
PPTX
1 java introduction
PDF
Java introduction with JVM architecture
PPTX
Features of java
PPTX
Introduction to Java
Java introduction by lara technologies
FEATURES OF JAVA
PALASH SL GUPTA
JAVA FEATURES
1 java introduction
Java introduction with JVM architecture
Features of java
Introduction to Java

What's hot (18)

PPTX
intoduction to java
PDF
What's Inside a JVM?
PPTX
Java Virtual Machine (JVM), Difference JDK, JRE & JVM
PPT
Intro to Java Technology
PPTX
JRuby deployments
PPTX
JAVA Career
PPTX
Presentation on java (8)
PPTX
JAVA ENVIRONMENT
PPTX
Introduction of java technology
PPTX
Introduction of java
PPTX
QSpiders - Jdk Jvm Jre and Jit
PPTX
Lara Technology
PPTX
The Java Story
PPT
Java Training at Gateway Software Solutions,Coimbatore
intoduction to java
What's Inside a JVM?
Java Virtual Machine (JVM), Difference JDK, JRE & JVM
Intro to Java Technology
JRuby deployments
JAVA Career
Presentation on java (8)
JAVA ENVIRONMENT
Introduction of java technology
Introduction of java
QSpiders - Jdk Jvm Jre and Jit
Lara Technology
The Java Story
Java Training at Gateway Software Solutions,Coimbatore
Ad

Similar to Java (20)

PPTX
java basics concepts and the keywords needed
PPT
Introduction to Core Java feature and its characteristics
PPTX
Java Introduction
PPTX
Object Oriented Programming Part 1 of Unit 1
PPTX
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
PPTX
Object Oriented concept-JAVA-Module-1-PPT.pptx
PPTX
OOP-JAVA-UNIT-1-PPT updated.pptx object oriented programming language using java
PPTX
PPTX
Introduction to java by priti sajja
PDF
Lecture-01 _Java Introduction CS 441 Fast
PPTX
1.Intro--Why Java.pptx
PPTX
Introduction to java
PPTX
JAVA-History-buzzwords-JVM_architecture.pptx
PPTX
Introduction to JAVA
PPT
PPS Java Overview Unit I.ppt
PPT
PPS Java Overview Unit I.ppt
PPTX
Introduction to java
PPTX
powerpoint presentation on Java characteristics
PPTX
Introduction to java and it's opportunities
PDF
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
java basics concepts and the keywords needed
Introduction to Core Java feature and its characteristics
Java Introduction
Object Oriented Programming Part 1 of Unit 1
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
Object Oriented concept-JAVA-Module-1-PPT.pptx
OOP-JAVA-UNIT-1-PPT updated.pptx object oriented programming language using java
Introduction to java by priti sajja
Lecture-01 _Java Introduction CS 441 Fast
1.Intro--Why Java.pptx
Introduction to java
JAVA-History-buzzwords-JVM_architecture.pptx
Introduction to JAVA
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
Introduction to java
powerpoint presentation on Java characteristics
Introduction to java and it's opportunities
1. JAVA_Module_1-edited - AJIN ABRAHAM.pptx.pdf
Ad

Recently uploaded (20)

PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
GDM (1) (1).pptx small presentation for students
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Pharma ospi slides which help in ospi learning
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Lesson notes of climatology university.
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
master seminar digital applications in india
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Institutional Correction lecture only . . .
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
01-Introduction-to-Information-Management.pdf
GDM (1) (1).pptx small presentation for students
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
human mycosis Human fungal infections are called human mycosis..pptx
Pharma ospi slides which help in ospi learning
2.FourierTransform-ShortQuestionswithAnswers.pdf
VCE English Exam - Section C Student Revision Booklet
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Lesson notes of climatology university.
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPH.pptx obstetrics and gynecology in nursing
master seminar digital applications in india
Renaissance Architecture: A Journey from Faith to Humanism
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Anesthesia in Laparoscopic Surgery in India
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Computing-Curriculum for Schools in Ghana
Institutional Correction lecture only . . .

Java

  • 3. What is java?  Developed by Sun Microsystems (James Gosling)  A general-purpose object-oriented language  Based on C/C++  Designed for easy Web/Internet applications  Now developing by Oracle
  • 4. JAVA - AN INTRODUCTION • Java - The new programming language developed by Sun Microsystems in 1991. • Originally called Oak by James Gosling, one of the inventors of the Java Language. • Java -The name that survived a patent search • Java Authors: James , Arthur Van , and others • Java is really “C++ -- ++ “
  • 5. JAVA INTRODUCTION • Originally created for consumer electronics (TV, VCR, Freeze, Washing Machine, Mobile Phone). • Java - CPU Independent language • Internet and Web was just emerging, so Sun turned it into a language of Internet Programming. • It allows you to publish a webpage with Java code in it.
  • 6. JAVA FEATURES • Simple • fixes some clumsy features of C++ • no pointers • automatic garbage collection • rich pre-defined class library http://java.sun.com/j2se/1.4.2/docs/api/ • Object oriented • focus on the data (objects) and methods manipulating the data • all functions are associated with objects • almost all datatypes are objects (files, strings, etc.) • potentially better code organization and reuse
  • 7. JAVA FEATURES • Interpreted • java compiler generate byte-codes, not native machine code • the compiled byte-codes are platform-independent • java bytecodes are translated on the fly to machine readable instructions in runtime (Java Virtual Machine) • Portable • same application runs on all platforms • the sizes of the primitive data types are always the same • the libraries define portable interfaces
  • 8. JAVA FEATURES • Reliable • extensive compile-time and runtime error checking • no pointers but real arrays. Memory corruptions or unauthorized memory accesses are impossible • automatic garbage collection tracks objects usage over time • Secure • usage in networked environments requires more security • memory allocation model is a major defense • access restrictions are forced (private, public)
  • 9. JAVA FEATURES • Multithreaded • multiple concurrent threads of executions can run simultaneously • utilizes a sophisticated set of synchronization primitives (based on monitors and condition variables paradigm) to achieve this • Dynamic • java is designed to adapt to evolving environment • libraries can freely add new methods and instance variables without any effect on their clients • can check the class type in runtime