Session has been expired. Please
login again
.
Home
Interview
Data Science
AI/ML
Cloud
Web Development
Java
.NET
Database
Scripting Language
Computer Basics
Basic Languages
QA Testing
Certifications
Mobile Development
Compliances
Engineering
Integration Platforms
Management
Security & Privacy
Servers
More ...
Online Test
India Entrance Exams
Data Science
Java
Certifications
.NET
Database
Computer Basics
GK
Testing
Basic Language
Engineering
Management
More ...
Tutorial
Difference Between
Trending Topics
LIVE Interview Preparation
Mock Interviews
Sign Up
Login
Prepare Interview
Trending
60
Microsoft .NET
41
C#
30
Machine Learning
20
ChatGPT
142
C++
49
Data Structures
62
Computer Basics
106
Python
152
SQL
73
DBMS
15
Java Design Patterns
41
JPA
52
Hibernate
50
Spring Boot
30
Kotlin
306
Core Java
52
iOS
14
Android
49
HR Questions
52
REST API
75
SDLC
40
Cryptography
38
Apache Kafka
80
Language in C
40
Selenium
40
React
50
Angular
27
PHP
27
HTML
.NET
60
Microsoft .NET
82
ASP
20
LINQ
41
C#
31
ASP .NET
AIML
36
OpenCV
30
Amazon SageMaker
30
TensorFlow
30
Hugging Face
47
Artificial Intelligence (AI)
30
Machine Learning
30
Google Cloud AI
30
IBM Watson
20
ChatGPT
30
NLP
Basic Language
30
Embedded C
142
C++
30
VBA
50
COBOL
30
R Language
20
Python Coding
48
Scala
49
Swift
30
Golang
Certification
40
CCNA
Cloud
87
AWS
35
Microsoft Azure
30
Azure Data Factory
30
OpenStack
30
ServiceNow
30
Snowflake
23
Oracle APEX
Compliance
20
FERPA
30
DPDP
20
PIPEDA
20
CCPA
30
GDPR
20
HITRUST
20
LGPD
20
PDPA
20
OSHA
20
HIPPA
20
PHIPA
Computer Basics
50
Computer Science
22
Operating System
50
MS Word
30
Tips and Tricks
50
PoowerPoint
49
Data Structures
37
Microsoft Excel
65
Computer Networking
62
Computer Basics
Data Science
30
SciPy
30
Generative AI
30
NumPy
106
Python
48
Python Pandas
30
Python Matplotlib
50
Django
30
Pandas
29
Deep Learning
40
Flask
30
PySpark
25
PyTorch
23
Data Science
Database
50
MSSQL
46
OrientDB
20
Data Warehouse
152
SQL
40
IBM DB2
61
Elasticsearch
30
Data Mining
34
Oracle
27
MongoDB
46
AWS DynamoDB
46
Entity Framework
20
Redis Cache
108
MySQL
30
Data Modeling
73
DBMS
40
MariaDB
30
Apache Hive
30
PostgreSQL
30
SSIS
20
Teradata
70
SQL Query
53
SQLite
25
Cassandra
44
Neo4j
Engineering
30
Electrical Engineering
30
Verilog
30
VLSI
27
Software Engineering
25
MATLAB
38
Digital Electronics
30
Civil Engineering
29
Electrical Machines
30
Data Engineer
30
AutoCAD
28
Robotics
28
Power System
Integration
31
Web API
30
Dell Boomi
57
Salesforce
20
IBM DataStage
34
Talend
30
TIBCO
48
Informatica
29
Oracle CXUnity
10
Web Services
30
Salesforce Lightning
30
IBM Integration Bus
24
Power BI
30
OIC
Java
30
Java Garbage Collection
15
Java Design Patterns
53
Spring Framework
27
Java Swing
41
JPA
30
Java 8
52
Hibernate
64
JMS
24
JSF
20
Java 17
30
Java Exception Handling
50
Spring Boot
34
Servlets
30
Kotlin
80
EJB
57
Java Beans
16
Java 15
30
Java Multithreading
26
Apache Wicket
306
Core Java
35
Log4j
14
JBoss
27
Java Mail
29
Java Applet
8
Google Gson
21
Java 21
20
Apache Camel
84
Struts
31
RMI
30
Java Support
18
JAXB
24
JUnit
30
Java OOPs
9
Apache Tapestry
49
JSP
30
Java Concurrency
25
J2EE
24
Java 11
27
JDBC
Management
30
JIRA
30
SAP MM
24
SAP ABAP
30
SCCM
30
Tally
30
Pega
25
ITIL
30
Finance
Mobile Development
20
Mobile Computing
31
Xamarin
52
iOS
32
Ionic
14
Android
More
51
SEO
30
Google Analytics
42
Cloud Computing
48
BPO
10
ANT
30
Agile Methodology
49
HR Questions
52
REST API
30
Content Writer
24
SAS
28
Control System
29
Blockchain
30
Technical Support
20
Mainframe
40
Hadoop
20
Banking
20
Checkpoint
30
Sales
20
Nature
50
Chemistry
30
Docker
30
College Teachers
75
SDLC
40
Cryptography
26
RPA
30
Interview Tips
30
GIT
20
Blue Prism
28
Memcached
30
SSB
50
Algorithm
40
Business Analyst
30
Splunk
45
DevOps
30
Accounting
16
JSON
30
OSPF
30
Sqoop
30
Scrum Master
30
Accounts Payable
25
Computer Graphics
30
IoT
30
Insurance
30
Bitcoin
30
Active Directory
30
Laravel
25
XML
32
GraphQL
30
Kubernetes
30
Microservices
38
Apache Kafka
20
Tableau
50
Adobe AEM
30
OOPs
20
Fashion Designer
30
Desktop Support
56
IAS
30
PHP OOPs
30
Yoga Teachers Training
40
Nursing
15
Linked List
30
Dynamic Programming
28
SharePoint
30
CICS
25
School Teachers
80
Language in C
29
Behavioral
60
Full-Stack Developer
30
Statistics
40
Digital Marketing
24
Apache Spark
30
System Design
30
VISA
30
IIS
Scripting Language
50
ExtJS
22
jQuery
30
Vue.js
30
Svelte.js
50
Shell Scripting
30
Next.js
38
TypeScript
25
Knockout JS
27
PowerShell
30
Terraform
20
JCL
59
JavaScript
58
Ajax
30
Express.js
30
Ansible
30
ES6
24
Electron.js
30
NodeJS
29
RxJS
Security and Privacy
30
PII
20
Data Protection Act
30
BGP
40
Ethical Hacking
50
Cyber Security
Servers
105
Unix
30
Weblogic
16
Tomcat
8
Glassfish
30
Ubuntu
43
Linux
Testing
30
Appium
20
ETL Testing
30
Cucumber
44
QTP
38
TestNG
30
Postman
30
SDET
56
Quality Assurance
40
Selenium
29
Kali Linux
30
Mobile Testing
38
UiPath
30
API Testing
Web Development
30
CakePHP
40
React
26
React Native
21
Angular JS
50
Web Developer
32
Angular 8
23
Dojo
27
GWT
30
Symfony
74
Ruby On Rails
74
CSS
30
Yii
50
Angular
27
PHP
54
Oracle JET(OJET)
30
Frontend Developer
24
Zend Framework
26
RichFaces
27
HTML
25
Flutter
Ask Question
Mock Exams
Trending
42
C#.NET
50
Language in C
17
CSS
30
PHP
30
C++
30
HTML5
40
HTML
75
AWS Cloud Certification
66
SCWCD / OCWCD
35
Azure Cloud Certification
82
OCJP / SCJP
16
Google Cloud/GCP Certification
30
CCNA
38
Computer basics
20
Microsoft Word
19
Computer Organization
44
Microsoft Excel
20
Data Structures
20
Python
61
DBMS
25
SQL
71
Engineering Entrance
67
Aptitude
54
General Knowledge / GK
26
Food Quiz
72
Railway Recruitment
74
Medical Entrance
71
Bank PO
114
India Law Entrance
33
Hibernate
241
Core Java
35
CAT
15
Artificial Intelligence
80
Nursing
37
Android
20
COVID-19
15
JavaScript
.NET
67
VB.Net
50
ASP.Net
12
Microsoft .NET
42
C#.NET
AIML
113
Machine Learning
Basic Language
151
Swift
94
ABAP
17
XML
92
COBOL Script
50
Language in C
10
Perl
281
ZPL
17
CSS
136
Ruby on Rails
92
Go Language
142
R Language
96
A+ Language
81
Fortran
96
DLANG
88
F#
153
Kotlin
30
PHP
30
C++
226
MATLAB
73
Rust
30
HTML5
94
COBOL
76
Halide Language
132
VLang
102
X++ Language
40
HTML
Certification
75
AWS Cloud Certification
66
SCWCD / OCWCD
35
Azure Cloud Certification
21
OCI Generative AI
82
OCJP / SCJP
16
Google Cloud/GCP Certification
30
CCNA
Cloud
62
Snowflake
118
Microsoft Azure SQL Database
49
Google Cloud BigQuery
Computer Basics
82
Information Technology
98
Computer Architecture
14
DOS
35
Computer Networking
73
Computer Science
38
Computer basics
20
Microsoft Word
23
Microsoft PowerPoint
25
Computer Hardware
19
Computer Organization
12
UNIX
10
Window 2003 Server
44
Microsoft Excel
61
Operating Systems
20
Data Structures
25
Operating System
14
Linux
Data Science
20
Django
147
Data Science
150
Posit
64
Power BI
20
Python
Database
11
Database Administration
215
PostgreSQL
205
Informix
198
Redis
91
Teradata
19
Microsoft Access
40
Oracle SQL Developer
11
Data Warehousing
230
MariaDB
93
Applications Manager Database
39
MySQL
88
Database Management
53
Amazon RDS
124
MongoDB
58
IBM Db2
15
Microsoft SQL Server
77
Neo4j
30
ORACLE
110
OrientDB
81
CouchDB
129
FileMaker
225
ADABAS
61
DBMS
65
SQLite
25
SQL
Engineering
74
Civil Engineering
129
Biomedical Engineering
74
Robotics
30
Electrical Engineering
174
Nanotechnology
12
Digital Electronics
83
Aerospace Engineering
83
Industrial Engineering
71
Engineering Entrance
106
Digital Signal Processing
46
Renewable Energy Engineering
159
Mechanical Engineering
68
Chemical Engineering
115
Software Engineering
72
Network Engineering
16
Electronics Engineering
114
Control Systems Engineering
92
Telecommunications Engineering
15
System Analysis
GK
67
Aptitude
18
Ramayana The Mythology
26
Hollywood Movies Quiz
120
General QA
31
IPL
54
General Knowledge / GK
50
Badminton
30
Geometry
19
General Science
26
Sports
19
Mahabharata Mythology
30
Politics Quiz
27
Football / Soccer
20
Trigonometry
15
Famous Personalities
20
Nature
12
Days And Years
26
Food Quiz
61
Bollywood Movies Quiz
18
National Geographic
19
American Football
12
World Geography
15
Physics
India Entrance Exams
87
SRMJEEE
94
UPSC
225
HPCET
72
Railway Recruitment
120
CA (Chartered Accountant)
119
UPCET
74
Medical Entrance
78
SSC CGL
125
KCET
97
SSC CPO
169
PTU Exam
88
Banking Exams
92
Defence Exams
128
GPAT
129
AP EAMCET
84
JEE Main
108
JEXPO
103
VITEEE
95
IAS
212
WBJEE
112
AIIMS
378
NIFT
156
JEE Advanced
67
JEECUP Entrance exam
97
CDS Exam
114
TNEA
20
JEE
190
OJEE
82
BCECE
82
IBPS PO
77
NEET PG
73
Indian Economic Service Examin
85
CMC Vellore
92
Entrance Exams
93
LAWCET Entrance Exam
685
JIPMER
172
COMEDK UGET
110
RRB Exams
119
INI CET
68
CEED
55
Engineering Entrance Exam
137
CUET
117
SSC CHSL
66
AIPVT Entrance Exam
89
NEET
160
AFMC
146
XAT
110
SSC
147
GCET
71
Bank PO
132
ACEE
114
India Law Entrance
145
CG PET
80
IBPS Clerk
108
TS EAMCET
87
RRB ALP
71
AP POLYCET
149
KEAM
70
NDA Entrance
140
SBI PO
164
NATA
103
MHT CET
402
JKCET
134
AILET
122
RBI Assistant
152
IPU CET
148
CLAT
100
Indian Economic Service Examin
186
NID NEED
65
GATE
Java
35
Servlets
33
Hibernate
39
Spring Boot
23
J2EE
23
Java Swing
241
Core Java
28
J2ME
30
EJB
42
Java 8
39
JSP
39
Struts
10
JMS
32
JDBC
Management
35
CAT
30
PMP
20
System Analysis(SDLC)
20
Human Resource
15
Artificial Intelligence
Mobile Development
38
React Native
More
20
Easy Mathematics
10
Analogous Pair
50
Bootstrap
87
Unity
95
SignalR
27
PEGA
102
NEET
10
Sentence Ordering
80
Nursing
15
Word Series
50
DevOps
23
Good Clinical Practice (GCP)
37
Android
100
CLAT
16
English Vocabulary
101
GATE
10
Word Ordering
37
Medical Surgery
181
DIGITAL Command Language
132
BITSAT
20
COVID-19
Personality Development
35
Yoga Teachers Training
30
Yoga Teachers Training Level 3
30
Yoga Teachers Training Level 1
30
Yoga Teachers Training Level 2
Scripting Language
144
DLANG Shell
92
ECMAScript
58
Node.js
14
jQuery
26
Ajax
15
JavaScript
40
AngularJS
261
C shell
Security and Privacy
81
Cybersecurity
Testing
10
QTP
25
Software Testing
Web Development
43
NextJS
282
Web Development
75
Vue.js
121
ReactJS
141
CodeIgniter
62
Flask
156
Laravel
78
Express.js
Make Homepage
Bookmark this page
Subscribe Email Address
Difference between Java 1.4 and Java 5
Java 1.4
Interview
Online Test
Java 5
Interview
Online Test
Fetures added:
- assert keyword
- Regular expressions
- Exception chaining (allows an exception to encapsulate original lower-level exception)
- Internet protocol version 6 (IPV6) support
- Non-blocking nio (new input/output)
- Logging API
- Image i/o api for reading and writing images in formats like jpeg and png
- Integrated XML parser and XSLT processor (JAXP)
- Integrated security and cryptography extensions (JCE, JSSE, JAAS)
- Java web start
Features added:
- Generics: provides compile-time (static) type safety for collections and eliminates the need for most typecasts (type conversion).
- Metadata: also called annotations; allows language constructs such as classes and methods to be tagged with additional data, which can then be processed by metadata-aware utilities.
- Autoboxing/unboxing: automatic conversions between primitive types (such as int) and primitive wrapper classes (such as integer).
- Enumerations: the enum keyword creates a typesafe, ordered list of values (such as day.monday, day.tuesday, etc.). Previously this could only be achieved by non-typesafe constant integers or manually constructed classes (typesafe enum pattern).
- Swing: new skinnable look and feel, called synth.
- Var args: the last parameter of a method can now be declared using a type name followed by three dots (e.g. Void drawtext(string... Lines)). In the calling code any number of parameters of that type can be used and they are then placed in an array to be passed to the method, or alternatively the calling code can pass an array of that type.
- Enhanced for each loop: the for loop syntax is extended with special syntax for iterating over each member of either an array or any iterable, such as the standard collection classesfix the previously broken semantics of the java memory model, which defines how threads interact through memory.
- Automatic stub generation for rmi objects.
- Static imports concurrency utilities in package java.util.concurrent.
- Scanner class for parsing data from various input streams and buffers.
- Assertions
- StringBuilder class (in java.lang package)
- Annotations
Related differences
Java 5 vs Java 6
Java 1.3 vs Java 1.4
Java 1.4 vs Java 5
Is it helpful?
Yes
No
Get differences from below
JSF vs JSP
JSP vs Servlets
JSP vs ASP
JSF 1.2 vs JSF 2.0
JSF 2.0 vs JSF 2.1
Java 5 vs Java 6
Java 6 vs Java 6 update 10
Java 6 vs Java 7
Java 6 update 10 vs Java 6 update 12
Java 1.0 vs Java 1.1
Java 1.1 vs Java 1.2
Java 1.2 vs Java 1.3
Java 1.3 vs Java 1.4
Java 1.4 vs Java 5
Struts 1 vs Struts 2
Struts 1.1 vs Struts 1.2
Struts 1.2 vs Struts 1.3
Linux vs Unix
C vs C++
Java vs C++
Java vs J2EE
Java vs Kotlin
Java vs .NET
Struts vs JSF
Struts vs Spring
Spring vs Spring Boot
Apache vs IIS
Jboss vs Tomcat
Jboss vs WebLogic
WebLogic vs Websphere
JavaScript vs Jquery
JavaScript vs VBScript
JavaScript vs TypeScript
Jquery vs AngularJS
HTML vs XML
HTML vs XHTML
HTML vs DHTML
HTML 5 vs HTML 4
Java 7 vs Java 8
EJB 2.0 vs EJB 3.0
EJB 3.0 vs Spring
JDBC vs Hibernate
JDBC vs JPA
JDBC 3.0 vs JDBC 4.0
CSS 2 vs CSS 3
EJB 1.0 vs EJB 2.0
AWT vs Swing
Swing vs Applet
PHP vs JSP
J2EE vs J2ME
Java 8 vs Java 9
JPA vs Hibernate
MVC 1 vs MVC 2
Hibernate 3 vs Hibernate 4
Spring 3.0 vs Spring 4.0
Java 9 vs Java 10
jQuery Mobile vs Bootstrap
JavaBeans vs EJB
JSON vs XML
RESTful Web Services vs SOAP Web Services
Spring 2.5 vs Spring 3.0
HTTP vs HTTPS
AngularJS vs NodeJS
AngularJS vs Angular
NodeJS vs Java
NodeJS vs Spring Boot
NodeJS vs Golang
PaaS vs IaaS
SaaS vs PaaS
SaaS vs IaaS
On-Premise vs Cloud Computing
Monolithic vs Microservices
Java 10 vs Java 11
Spring MVC vs Spring Boot
Golang vs Java
Python vs Java
AWS vs Azure
AWS vs Google Cloud/GCP
Ansible vs Terraform
Ansible vs Puppet
Puppet vs Terraform
OpenID Connect vs OAuth 2.0
SAML vs OpenID Connect
Java 11 vs Java 12
Java 12 vs Java 13
Java 13 vs Java 14
Java 14 vs Java 15
Java 15 vs Java 16
Java 16 vs Java 17
Python 2 vs Python 3
RDBMS vs Hadoop
Angular vs React
Java 17 vs Java 18
GraphQL vs RESTful Web Services (REST API)
RESTful Web Services (REST API) vs gRPC
Android vs iOS
TikTok vs Instagram
Instagram vs YouTube
TensorFlow vs PyTorch
OracleJDK vs OpenJDK