SlideShare a Scribd company logo
HISTORY OF JAVA
JAVA
• Father of Java: James Gasoline
EXPANSIONS:
• API-Application Programming Interface
• SDK-Software Development Kit
• JVM-Java virtual machine
History of Java
• 1990 oak : To control microprocessors
Embedded in customer item
• Oak needed to be
– Platform independent
– Extremely reliable
– Compact
• 1993: Java
– Internet and web exploration
– Internet application
• 1994: Hot Java Browser
• 1995: java1. 0
VERSIONS OF JAVA
• 1995 version 1.0:
– The Java development kit was released for free by
the sun
– 8-packages 212-classes
– Microsoft and other companies licensed Java
• 1997 version 1.1:
– 23 -packages 504-classes
– Improvement include better event handling inner
classes , improved jvm
– Microsoft developed its own 1.1 compatible Java
virtual machine for internet explorer
– Many browsers in use are still compatible only
with 1.1
1999 version 1.2:
-It is also called as the Java 2 platform
-59 packages 1520 classes
-Code & tools distributed as the SDK
-A Java foundation class based on swings
for improved graphics and user interfaces
– Collection API included list sets and hash map
2000 VERSION 1.3:
- 76 packages 1842 classes
- Java sound
2002 VERSION 1.4:
- 135 PACKAGES 2991 classes
- Improved I , xml support etc..,
2004 VERSION 5.0 (1.5):
- 165 packages over 3000 classes
- Faster startup metadata formatted
output
– Generic to operate on objects of various types
2006 JAVA SE 6:
– Scripting language support
2011 JAVA SE 7:
– JVM support for dynamic language
– String in switch
– Allowing underscores in numeric literals
FUTURE RELEASES:
JAVA SE 8:
– LAMBDA OPERATOR is expected in summer 2013
JAVA SE 9:
– Under planning
PACKAGES
• Each class has different methods is called
packages
FEAUTURES OF JAVA TECHNOLOGY
PLATFORM INDEPENDENT:
– Write once run anywhere
OBECT ORIENTED:
– No coding outside of class definitions including
main ()
– An extensive class library available in the core
language packages
COMPILER AND INTERPRETER:
– Code is compiled to byte codes that are
interpreted by a JVM
– This provides portability to any machine for which
a virtual machine has been written
– The two steps of compilation and interpretation
allow for extensive code checking and improved
security
ROBUST:
– Exception handling built-in strong type checking
Several dangerous features of c & c++
– No memory pointers
– No pre processor
– Garbage collector
AUTOMATIC MEMORY MANAGEMENT:
– Automatic garbage collection memory
management handled by the JVM
SECURITY:
– No memory pointers
– Programs run inside the virtual machine sandbox
CODE PATHOLOGIES REDUCED BY:
Byte code verifier:
– Checks classes after loading
Class loaders:
– Confines object of unique namespace
Security manager:
– Determines what resources a class can access
Java
Source
(. Java)
Java compiler
Java byte
code
(. Byte)
Java byte
code
move
locally or
through
the
network
Class loader
byte codes
Verifier
Java class
libraries
Java
interpreter
Just in
time
compiler
Run time system
Operating system
Hardware
Difference
c
• Focus on logic
• Procedure or structure
oriented
• Top – down approach
(Based on variable declaration)
c++
• Focus on both logic and
data
• Object oriented
programming language
• Bottom – top approach
(Variable declaration
C++
• Partially object oriented
language
• Pointers concept and
Preprocessor are available
• Operator overloading is
available
• Platform dependent
• A destructor is used to free
the memory
• The compiler is present
JAVA
• Purely object oriented
language
• Pointers concept and
Preprocessor is not
available
• Operator overloading is not
available
• Platform independent
• Automatic garbage
collection
• Both compiler and
interpreter is present
Markup language
• HTML, XML
• Design based language
Programming language
• C, C++, JAVA etc..,
• Logic based language
XML
• User defined tags
• Focused on data storage
• Case sensitive
HTML
• Predefined tags
• Focused on design
• Non case sensitive
Difference between function member
function and method
Function:
• Independent calling (in c)
Member function:
• Partially dependent on object (in c++)
(Members of class)
Methods:
• Fully dependent on object (Java)
Version 1.7 (string in switch)
Import Java. Io. *;
Class strswitch
{
Public static void main(string g[])
{
String s=“aaa”;
Switch (s)
{
Case “aaa”:
system.out.println(“from aaa”);
Case “bbb”:
system.out.println(“from bbb”);
Default:
system.out.println(“from default”);
}}}
Output
from aaa
Integer literal
Import java.io.*;
Class intliteral
{
Public static void main(string g[])
{
int a=12_78_56;
System.out.println(“a=“+a);
}
}
Output
a=127856
Special Keywords in Java
• Static
• Final
• Volatile
• Transient
• Strictfp
• Assert
• Byte
• Native
• Boolean
Final:
– Final is also like constant the give value can not
change throughout the program
Transient:
– Used within a certain period of time So it's not used
more
Strictfp:
– Display the exact result in a float
Assert:
– Implementing our assumption
Native:
– A program created in c can be accessed in Java
Byte:
– Between range (-128 to 0 to 127)
– Eg: byte b=123 is accepted
Byte b=129 is not accepted
Boolean:
– Assigning true or false to a statement or block
Static and Volatile
Static :
– A common memory allocation
Volatile:
– Share the value
Example for static and volatile
Eg Program:
Class samp
{
int a;
Static int b;
Volatile int c;
}
{
Samp s1.new samp;
Samp s2.new samp;
Samp s3.new samp;
}
Static memory allocation
a=1 ,b=2 ,c=3
s1 s2 s3
a
c
b (b is declared as static so it is
used in common)
1 0 0
3 3 3
2
Volatile memory allocation
a=1 ,b=2 ,c=3
s1 s2 s3
a
c (volatile value will be
shared among the object)
b
1 0 0
3 3 3
2
Java literals
Integer literal:
Eg: int a=10;
int b=010;
In integer literal if the first value is ‘0’ compiler
will take that as octal value.
Perform the operation and display the output
Output:
8
int a=1;
int b=2;
int c=0x10;
In integer literal if the first value is ‘0x’ compiler
will take that as hexadecimal value.
Perform the operation and display the output
Output:
16
Character literals
Declarations:
Char c=’p’;
Char c=98;
Char c=‘n’; ”0 is not used in java”
Char c=‘u0009’; (unicode)
Float literals
Declaration:
Float f=12.56f;
Float f=12.; (‘f’ no need compiler will take that
as 12.0)
Bytes =4;Maximum digits =6
Double:
double d=75.76835457786(maximum range is
not defined)
String literals
string s=“erode”;
String s=“erobde”(o/p:erde(since /b is defined
as backspace))
Eg:
int a=10;
int b=20;
int c=30;
string s=“hai”;
s.o.p(“a+b+c+s”);
s.o.p(“a+b+s+c”);
s.o.p(“a+s+b+s”);
output
60hai
30hai30
10hai2030(still it finds the string it will add the
content or numbers)

More Related Content

PPTX
Java History
Prionto Abdullah
 
PPTX
Factoring the greatest common monomial factor
Nara Cocarelli
 
PPTX
MULTI THREADING IN JAVA
VINOTH R
 
PPTX
Biomedical Waste Management
Madhukar Vedantham
 
PDF
Java: The Complete Reference, Eleventh Edition
moxuji
 
PPTX
Java
Tony Nguyen
 
PPTX
Virtualization in cloud computing
Mohammad Ilyas Malik
 
PPTX
Chlorophyta
Alen Shaji
 
Java History
Prionto Abdullah
 
Factoring the greatest common monomial factor
Nara Cocarelli
 
MULTI THREADING IN JAVA
VINOTH R
 
Biomedical Waste Management
Madhukar Vedantham
 
Java: The Complete Reference, Eleventh Edition
moxuji
 
Virtualization in cloud computing
Mohammad Ilyas Malik
 
Chlorophyta
Alen Shaji
 

What's hot (20)

PPTX
Introduction to java
Veerabadra Badra
 
PPTX
Strings in Java
Abhilash Nair
 
PPSX
Data Types & Variables in JAVA
Ankita Totala
 
PPT
Oops in Java
malathip12
 
PPTX
Basics of JAVA programming
Elizabeth Thomas
 
PDF
Introduction to Java Programming
Ravi Kant Sahu
 
PPTX
core java
Roushan Sinha
 
ODP
Basic of Java
Ajeet Kumar Verma
 
PPTX
Core Java
Priyanka Pradhan
 
PPT
Java platform
BG Java EE Course
 
PPT
Java tutorial PPT
Intelligo Technologies
 
PPSX
Introduction to java
Ajay Sharma
 
PDF
Arrays in Java
Naz Abdalla
 
PPTX
OOPS In JAVA.pptx
Sachin33417
 
PDF
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
PPTX
Java architecture
Rakesh
 
PPTX
Training on Core java | PPT Presentation | Shravan Sanidhya
Shravan Sanidhya
 
PPTX
Interface in java
PhD Research Scholar
 
PDF
Java Basic Oops Concept
atozknowledge .com
 
Introduction to java
Veerabadra Badra
 
Strings in Java
Abhilash Nair
 
Data Types & Variables in JAVA
Ankita Totala
 
Oops in Java
malathip12
 
Basics of JAVA programming
Elizabeth Thomas
 
Introduction to Java Programming
Ravi Kant Sahu
 
core java
Roushan Sinha
 
Basic of Java
Ajeet Kumar Verma
 
Core Java
Priyanka Pradhan
 
Java platform
BG Java EE Course
 
Java tutorial PPT
Intelligo Technologies
 
Introduction to java
Ajay Sharma
 
Arrays in Java
Naz Abdalla
 
OOPS In JAVA.pptx
Sachin33417
 
Oops concepts || Object Oriented Programming Concepts in Java
Madishetty Prathibha
 
Java architecture
Rakesh
 
Training on Core java | PPT Presentation | Shravan Sanidhya
Shravan Sanidhya
 
Interface in java
PhD Research Scholar
 
Java Basic Oops Concept
atozknowledge .com
 
Ad

Similar to History of java' (20)

PPTX
Java Introduction
sunmitraeducation
 
PPT
j-chap1-Basics.ppt
SmitaBorkar9
 
PPT
Java1 in mumbai
vibrantuser
 
PPTX
Introduction to java
Java Lover
 
PPTX
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
PPTX
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
PPTX
1 java programming- introduction
jyoti_lakhani
 
PPTX
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
 
PPTX
Introduction to JAVA
Md. Tanvir Hossain
 
PPTX
2 22CA026_Advance Java Programming_Data types and Operators.pptx
dolphiverma80
 
PPTX
Object Oriented Programming Part 1 of Unit 1
VigneshkumarPonnusam1
 
PPT
Introduction to Core Java feature and its characteristics
rashmishekhar81
 
PPT
basic_java.ppt
sujatha629799
 
PPTX
JAVA-History-buzzwords-JVM_architecture.pptx
20EUEE018DEEPAKM
 
PPTX
basic core java up to operator
kamal kotecha
 
PPTX
Letest
Prakash Poudel
 
PPTX
Java Programming concept
Prakash Poudel
 
PPTX
JAVA PROGRAMING NOTE FOR BEGINNERS 20242
boatengsolo963
 
PPT
1 Introduction To Java Technology
dM Technologies
 
Java Introduction
sunmitraeducation
 
j-chap1-Basics.ppt
SmitaBorkar9
 
Java1 in mumbai
vibrantuser
 
Introduction to java
Java Lover
 
JAVAPart1_BasicIntroduction.pptx
Murugesh33
 
JAVA_Day1_BasicIntroduction.pptx
Murugesh33
 
1 java programming- introduction
jyoti_lakhani
 
JAVA PROGRAM CONSTRUCTS OR LANGUAGE BASICS.pptx
AALIM MUHAMMED SALEGH COLLEGE OF ENGINEERING
 
Introduction to JAVA
Md. Tanvir Hossain
 
2 22CA026_Advance Java Programming_Data types and Operators.pptx
dolphiverma80
 
Object Oriented Programming Part 1 of Unit 1
VigneshkumarPonnusam1
 
Introduction to Core Java feature and its characteristics
rashmishekhar81
 
basic_java.ppt
sujatha629799
 
JAVA-History-buzzwords-JVM_architecture.pptx
20EUEE018DEEPAKM
 
basic core java up to operator
kamal kotecha
 
Java Programming concept
Prakash Poudel
 
JAVA PROGRAMING NOTE FOR BEGINNERS 20242
boatengsolo963
 
1 Introduction To Java Technology
dM Technologies
 
Ad

Recently uploaded (20)

PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Software Development Company | KodekX
KodekX
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
SMACT Works
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
This slide provides an overview Technology
mineshkharadi333
 
PPTX
Stamford - Community User Group Leaders_ Agentblazer Status, AI Sustainabilit...
Amol Dixit
 
PDF
Revolutionize Operations with Intelligent IoT Monitoring and Control
Rejig Digital
 
PPTX
Smart Infrastructure and Automation through IoT Sensors
Rejig Digital
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
PDF
Chapter 2 Digital Image Fundamentals.pdf
Getnet Tigabie Askale -(GM)
 
PPT
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Software Development Company | KodekX
KodekX
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
SMACT Works
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
This slide provides an overview Technology
mineshkharadi333
 
Stamford - Community User Group Leaders_ Agentblazer Status, AI Sustainabilit...
Amol Dixit
 
Revolutionize Operations with Intelligent IoT Monitoring and Control
Rejig Digital
 
Smart Infrastructure and Automation through IoT Sensors
Rejig Digital
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
Chapter 2 Digital Image Fundamentals.pdf
Getnet Tigabie Askale -(GM)
 
Coupa-Kickoff-Meeting-Template presentai
annapureddyn
 

History of java'

  • 2. JAVA • Father of Java: James Gasoline EXPANSIONS: • API-Application Programming Interface • SDK-Software Development Kit • JVM-Java virtual machine
  • 3. History of Java • 1990 oak : To control microprocessors Embedded in customer item • Oak needed to be – Platform independent – Extremely reliable – Compact • 1993: Java – Internet and web exploration – Internet application • 1994: Hot Java Browser • 1995: java1. 0
  • 4. VERSIONS OF JAVA • 1995 version 1.0: – The Java development kit was released for free by the sun – 8-packages 212-classes – Microsoft and other companies licensed Java • 1997 version 1.1: – 23 -packages 504-classes – Improvement include better event handling inner classes , improved jvm
  • 5. – Microsoft developed its own 1.1 compatible Java virtual machine for internet explorer – Many browsers in use are still compatible only with 1.1 1999 version 1.2: -It is also called as the Java 2 platform -59 packages 1520 classes -Code & tools distributed as the SDK -A Java foundation class based on swings for improved graphics and user interfaces
  • 6. – Collection API included list sets and hash map 2000 VERSION 1.3: - 76 packages 1842 classes - Java sound 2002 VERSION 1.4: - 135 PACKAGES 2991 classes - Improved I , xml support etc.., 2004 VERSION 5.0 (1.5): - 165 packages over 3000 classes - Faster startup metadata formatted output
  • 7. – Generic to operate on objects of various types 2006 JAVA SE 6: – Scripting language support 2011 JAVA SE 7: – JVM support for dynamic language – String in switch – Allowing underscores in numeric literals FUTURE RELEASES: JAVA SE 8: – LAMBDA OPERATOR is expected in summer 2013 JAVA SE 9: – Under planning
  • 8. PACKAGES • Each class has different methods is called packages
  • 9. FEAUTURES OF JAVA TECHNOLOGY PLATFORM INDEPENDENT: – Write once run anywhere OBECT ORIENTED: – No coding outside of class definitions including main () – An extensive class library available in the core language packages
  • 10. COMPILER AND INTERPRETER: – Code is compiled to byte codes that are interpreted by a JVM – This provides portability to any machine for which a virtual machine has been written – The two steps of compilation and interpretation allow for extensive code checking and improved security ROBUST: – Exception handling built-in strong type checking
  • 11. Several dangerous features of c & c++ – No memory pointers – No pre processor – Garbage collector AUTOMATIC MEMORY MANAGEMENT: – Automatic garbage collection memory management handled by the JVM SECURITY: – No memory pointers – Programs run inside the virtual machine sandbox
  • 12. CODE PATHOLOGIES REDUCED BY: Byte code verifier: – Checks classes after loading Class loaders: – Confines object of unique namespace Security manager: – Determines what resources a class can access
  • 13. Java Source (. Java) Java compiler Java byte code (. Byte) Java byte code move locally or through the network Class loader byte codes Verifier Java class libraries Java interpreter Just in time compiler Run time system Operating system Hardware
  • 14. Difference c • Focus on logic • Procedure or structure oriented • Top – down approach (Based on variable declaration) c++ • Focus on both logic and data • Object oriented programming language • Bottom – top approach (Variable declaration
  • 15. C++ • Partially object oriented language • Pointers concept and Preprocessor are available • Operator overloading is available • Platform dependent • A destructor is used to free the memory • The compiler is present JAVA • Purely object oriented language • Pointers concept and Preprocessor is not available • Operator overloading is not available • Platform independent • Automatic garbage collection • Both compiler and interpreter is present
  • 16. Markup language • HTML, XML • Design based language Programming language • C, C++, JAVA etc.., • Logic based language
  • 17. XML • User defined tags • Focused on data storage • Case sensitive HTML • Predefined tags • Focused on design • Non case sensitive
  • 18. Difference between function member function and method Function: • Independent calling (in c) Member function: • Partially dependent on object (in c++) (Members of class) Methods: • Fully dependent on object (Java)
  • 19. Version 1.7 (string in switch) Import Java. Io. *; Class strswitch { Public static void main(string g[]) { String s=“aaa”; Switch (s) { Case “aaa”: system.out.println(“from aaa”); Case “bbb”: system.out.println(“from bbb”); Default: system.out.println(“from default”); }}}
  • 21. Integer literal Import java.io.*; Class intliteral { Public static void main(string g[]) { int a=12_78_56; System.out.println(“a=“+a); } }
  • 23. Special Keywords in Java • Static • Final • Volatile • Transient • Strictfp • Assert • Byte • Native • Boolean
  • 24. Final: – Final is also like constant the give value can not change throughout the program Transient: – Used within a certain period of time So it's not used more Strictfp: – Display the exact result in a float Assert: – Implementing our assumption
  • 25. Native: – A program created in c can be accessed in Java Byte: – Between range (-128 to 0 to 127) – Eg: byte b=123 is accepted Byte b=129 is not accepted Boolean: – Assigning true or false to a statement or block
  • 26. Static and Volatile Static : – A common memory allocation Volatile: – Share the value
  • 27. Example for static and volatile Eg Program: Class samp { int a; Static int b; Volatile int c; } { Samp s1.new samp; Samp s2.new samp; Samp s3.new samp; }
  • 28. Static memory allocation a=1 ,b=2 ,c=3 s1 s2 s3 a c b (b is declared as static so it is used in common) 1 0 0 3 3 3 2
  • 29. Volatile memory allocation a=1 ,b=2 ,c=3 s1 s2 s3 a c (volatile value will be shared among the object) b 1 0 0 3 3 3 2
  • 30. Java literals Integer literal: Eg: int a=10; int b=010; In integer literal if the first value is ‘0’ compiler will take that as octal value. Perform the operation and display the output Output: 8
  • 31. int a=1; int b=2; int c=0x10; In integer literal if the first value is ‘0x’ compiler will take that as hexadecimal value. Perform the operation and display the output Output: 16
  • 32. Character literals Declarations: Char c=’p’; Char c=98; Char c=‘n’; ”0 is not used in java” Char c=‘u0009’; (unicode)
  • 33. Float literals Declaration: Float f=12.56f; Float f=12.; (‘f’ no need compiler will take that as 12.0) Bytes =4;Maximum digits =6 Double: double d=75.76835457786(maximum range is not defined)
  • 34. String literals string s=“erode”; String s=“erobde”(o/p:erde(since /b is defined as backspace)) Eg: int a=10; int b=20; int c=30; string s=“hai”; s.o.p(“a+b+c+s”); s.o.p(“a+b+s+c”); s.o.p(“a+s+b+s”);
  • 35. output 60hai 30hai30 10hai2030(still it finds the string it will add the content or numbers)

Editor's Notes

  • #29: Last value stored in b will be taken as common valueIf b= 7 means the value will be changed as 7