answersLogoWhite

0


Best Answer

Java 1.5 has many new features, compare to Java 1.4. See the link for a complete explanation. Some of the features are:

* Generics (e.g. typed collections, like Set<String>) * Enhanced for loop (for (String s : set) {...}) * Autoboxing/unboxing (automatically convert between types like Integer to int and vice versa) * Typesafe enums (enum is now a keyword, types can be created out of enums) * Varargs (for printf() function, allows variable number of arguments) * Static import (can now import static methods of a class, such as java.lang.Math) * Annotations

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

15y ago

Java 1.6 was released to overcome a few shortcomings and provide enhanced features when compared to Java 1.5

Details of 1.6 are mentioned below.

Advantages to running applications on Java SE 6 * Applications run faster on the desktop and servers * New 'Dynamic Attach' diagnostics simplify troubleshooting * Expanded Solaris DTrace support provides additional value on Solaris * Improved 'native' look and feel across Solaris, Linux, and Windows * First Java platform with full support for Windows Vista Benefits in upgrading developer environments to Sun's Java SE 6 * JavaScript integrated and included with the platform * Scripting languages framework extends support for Ruby, Python, and other languages * Complete light-weight platform for web services, right out of the box * Simplified GUI design and expanded native platform support * Full JDBC4 implementation providing improved XML support for Databases * Java DB included with the JDK, a free to use and deploy Java Database * Full support by NetBeans IDE 5.5 * Sun Developer Services available to help build more robust applications ---- Improved User Experience

* Look-and-feel updates to better match underlying operating system * Improved desktop performance and integration * Enhanced internationalization support * Improved performance * Upwards binary compatibility

Security Features and Enhancements

* Native platform Security (GSS/Kerberos) integration. * Java Authentication and Authorization Service (JAAS) login module that employs LDAP authentication * New Smart Card I/O API * Native security services technical article

» Find out more

Integrated Web Services

* New API for XML digital signature services for secure web services * New Client and Core Java Architecture for XML-Web Services (JAX-WS) 2.0 APIs * New support for Java Architecture for XML Binding (JAXB) 2.0 * XML home page

» Find out more

Scripting Language Support (JSR 223)

* New framework and API for scripting languages * Mozilla Rhino engine for JavaScript built into the platform * Scripting for the Java Platform technical article

» Find out more

Enhanced Management and Serviceability

* Improved JMX Monitoring API * Runtime Support for dTrace (Solaris 10 and future Solaris OS releases only) * Improved memory usage analysis and leak detection * Monitoring and Management technical article

Increased Developer Productivity

* JDBC 4.0 support (JSR 221) * Significant library improvements * Improvements to the Java Platform Debug Architecture (JPDA) & JVM Tool Interface

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between java 1.4 and 1.5?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the difference between Mnemonics and hexadecimal representation?

Mnemonics is a method of remembering things by associascation. Hexadecimal is a number system. 0-9 are as usual and then a(10) b(11) c(12) d(13) e(14) f(15)


Will you give us 10 to 15 different projects of advance java so that we can study advance java?

A good program display a model of human cells, and test different mutations.


What is a difference between b-15 lens on ray-ban glasses and polarized lens?

B-15 lens are brown in color and G-15 lenses are gray-green. Polarized lenses come in both colors and on the lens it's written Ray Ban P


What are the cordinates of java?

Java, one of the main islands of Indonesia, is centered near 7&deg;30&prime;10&Prime; S, 111&deg;15&prime;47&Prime; E and stretches from about 106&deg; E to 114&deg; E , along the northeast edge of the Indian Ocean in southeast Asia. The Indonesian capital of Jakarta is on Java.


What is the difference between sign and unsign in Java?

Normally, signed and unsigned data types just refer to whether or not a value can be negative or not. An unsigned 4-bit value can be the values 0 to 15 A signed 4-bit value can be the values -8 to 7 However, there is no such thing as an unsigned value in Java*. All primitive types are signed by default and cannot change. *Note that technically a char value can be considered an unsigned type. The only way to see this is to declare a char with value '\uffff' (or 65535) and try to print it out as both a short and an int. If you try this with any other data types, the larger values will display the same as the smaller values. Not so with the char example.

Related questions

What is the difference between -15 and -29?

14


What is the difference between 1 and 15?

The difference between two numbers is the biggest minus the smallest, in this case 15-1 = 14


Difference between 14 inch rims and 15 inch rims?

14 inch wheels fir 14 inch tires, 15 inch wheels fit 15 inch tires. The difference is 1 inch.


Which of the following describes the difference between nitrogen-14 and nitrogen-15?

Negus PLs


What is the difference of 29 and 14?

Difference means minus the two numbersie. 29 - 14 = 15This means that the difference is 15.


What is 15 euros in pounds?

around 14/15 pounds. the exchange rate between euros and pounds isn't much difference.


What is the difference between nitrogen-14 and nitrogen-15?

N-15 has one neutron more in its nucleus, the mass number is one higher.


What is the difference between nitrogen -14 and nitrogen -15?

Both have the same number of protons but different number of neutrons.


What is the difference between 10 and -5?

15


What is the difference between -18 and -3?

-15


What two numbers have the sum of 16 and the difference of 14?

15 + 1 = 16 sum 15 - 1 = 14 difference


What is the time difference between Venezuela and Australia?

The time differences between Venezuela and Australia are 12.5, 13.25, 14, 14.5, 15 and 15.5 hours.