answersLogoWhite

0

Explain the difference between jdk 1.4 and jdk 1.5?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

J2SE 1.4
- 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

J2SE 5.0 tiger [originally numbered 1.5]
- 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

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain the difference between jdk 1.4 and jdk 1.5?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between fractions and decimals explain?

well they r the same like 2.14 = 2 14/100 or 2 and 14 hundredths


How do you download Java JRE6 and JDK 14?

The downloads can be obtained from the below link.


What is the difference between between 1 and -13?

14


difference between 14 and 8?

14 - 8 = 6 because finding the difference between is the same as saying, "yo boi, subtract these two numbers."


What the difference between 14 and 8?

It is: 14 -8 = 6


What is the difference between 38 and 52?

It is 52 - 38 = 14.


What is the difference between 14 and 84?

70 ( 84 - 14 = 70)


What is the difference between -2 and -16?

14


What is the difference between 24 and 14?

10


What is the difference between -15 and -29?

14


What is the difference between 21 and 7?

14


What is difference between a winksquiffler and phizzwizard?

14