Share on Google+Share on Google+

java 1.4 vs java 1.5
1 Answer(s)      9 years ago
Posted in : Java Beginners

What is the difference between java 1.4 and java 1.5?


View Answers

February 26, 2008 at 5:18 PM

Difference between java 1.4 and java 1.5

Java programming language is simple,distributed , robust, object oriented & secure.The Java 2 SDK is developing environment that is used for building applications, applets, and components by using the Java programming language. The Java 2 SDK includes the following important tools that are useful for developing and testing programs written in the Java programming language and running on the Java platform.

java 1.4 :

java 1.4 contains the following features such as :
(1) The newly edition of Java, JDK 1.4 (or J2SE 1.4), includes new features like a new I/O system, newly framework, Java Web Start, and Java regular expressions. Java 2 Platform, Standard Edition (J2SE) is an advance version from J2SE 1.3. J2SE 1.4 adds the following new features and improve the functionality .

(2 ) Enhanced performance and scalability .

(3) And also improved reliability and serviceability.

(4 ) The Java 2 Runtime Environment (JRE) allows us to run applications written in Java programming language. Like the Java 2 SDK, it also contains the Java virtual machine(JVM) that converts the byte code into machine code , classes comprising the Java 2 Platform API which are required for running the java applications, and supporting files.

(5) Unlike the Java 2 SDK, it does not contain development tools such as compilers and debuggers.

java 1.5 :

Java 2 Platform standard Edition 5.0 is an advance version of JDK 1.4 (or J2SE 1.4) includes the more features .

(1) provides the enhancing for loop - Eliminates the error-proneness of iterators.

(2) generics - provides compile-time type safety for collections and avoids problems occur during type casting.

(3) autoboxing/unboxing - avoids manual conversion between primitive types (such as int) and wrapper types (such as Integer).

(4) metadata - provides a "declarative" programming style where the programmer says what should be done and tools emit the code to do it.

Java 2 Platform standard Edition 5.0 is the major revision to the java platform and language. It is currently slated to contain 15 component JSRs. Java J2SE also keeps the version number 1.5.0 or 1.5 in same places that are visible only to developers, or where the version number is parsed by programs. As mentioned 1.5.0 refers to exactly the same platform and products numbered 5.0 version 1.5.0 and 1.5 are used at

(i) java.version- gives the infomation about the system property
(ii) java -fullversion

(iii) javac -source 1.5

(iv) advance version jdk1.5.0 provides the installation directory

(vi) advance version of JDK1.4 provides jre1.5.0 installation directory

Related Tutorials/Questions & Answers:
what is the difference between jdk 1.4 and 1.5 and 1.6
what is the difference between jdk 1.4 and 1.5 and 1.6  what is the difference between jdk 1.4 and 1.5 and 1.6   Java 1.4 Features..., JSSE, JAAS) - Java web start Java 5.0 Features - Generics: provides compile
JDK 1.5 - Java Beginners
JDK 1.5  HI..... this is anand frm bangalore.... i was going through JDK 1.5 static imports and i am stuck upon one thing... Q. using imports can we import non static class members from another class... suppose in class
Javadoc 1.5 Customtag Support - Java Beginners
Javadoc 1.5 Customtag Support  Hi, I'm Using Java 1.5 version and my requirement is to generate Javadoc for my custom tag(fcb.param). I'm Using doclet tool(Eclipse Javadoc Generator) for generating javadoc. its working fine
java vs .net - Java Beginners
java vs .net  which language is powerful now java or .net
java vs vb
java vs vb  history of java and advanced products as well as vb? compared with java and vb? finalize list out the table of java and vb products? viewers i want more soon
Order of list in java Vs Haskell.
Order of list in java Vs Haskell.  How to order of [1,2,3] to [1,2,3,2,1]in java
jdk 1.5 features - Java Interview Questions
jdk 1.5 features  jdk 1.5 features with examples and source code ,how to use the features  Hi friend, (1)Generics:Provides compile... or any Iterable.. For more information on JDK 1.5 visit to : http
JDK 1.5 Features Diff - Java Interview Questions
JDK 1.5 Features Diff   Hi Frieds , Can u explain me d difference bn Generics and Autoboxing in jdk 1.5.  Hi Generics?Provides compile-time type safety for collections
java vs vb
history of java  history of java and advanced products as well as vb? compared with java and vb? finalize list out the table of java and vb products? viewers i want more soon
Java Parallel Processing Framework (JPPF) version 1.4 is now available
JPPF has recently announced the availability of the Version 1.4 in the market. The very best new features included in JPPF version 1.4 are-   ... is done by the nodes. The open source JPPF (Java Parallel Processing
Java vs Oracle Connectivity - JDBC
Java vs Oracle Connectivity  Write a java program to establish connection with oracle database?  Hi Friend, Use Oracle with Java Follow these steps: 1) Import the following packages in your java file
Encapsulation VS Abstraction - Java Beginners
Encapsulation VS Abstraction  Real Time sample code for Encapsulation and Abstraction. where to use abstract and where to use specifies like public...(); } Abstraction-The process of abstraction in Java is used to hide certain details
Servlet vs Class - Java Beginners
Servlet vs Class  I have worked on lot of projects and written number of classes myself. I have never started a project myself. Now I am assigned a task of starting a project. Could you please guide me if to start a project using
arraylist vs vector - Java Beginners
arraylist vs vector  hi, i want to know what is the difference between arraylist and vector in case of performance. in what cases we should go for arraylist and in what case we should go for vector. is there any   array
'String' vs 'StringBuffer' - Java Beginners
'String' vs 'StringBuffer'  What should i use String or StringBuffer?  Hi, First you need to rectify the question. Because StringBuffers append the data, and Strings concatenate the data. Since Strings are immutable
Reference type Vs Object type. - Java Beginners
Reference type Vs Object type.  Can anyone explain the exact.... They never contain the object. C++ object variables may be either, but Java supports only object references. For Example : Book bookvar = new Book("Java
Probability Vs. Number of people table - Java Beginners
Probability Vs. Number of people table  The probability that at least two people in the group of 5 people will have the same birthday is: 1... loops we need to create a program that will show the table: probability vs. number
Java vs C
Java vs. C Language In this section we will compare Java and C Programming... business problem. Java is object oriented, platform independent programming language... comparison of two languages: Language Type Java is Object oriented
JAVA - Java Beginners
java 1.4 vs java 1.5  What is the difference between java 1.4 and java 1.5?  Difference between java 1.4 and java 1.5Java programming... 1.4 :java 1.4 contains the following features such as : (1) The newly
Difference between extends thread class vs implements runnable interface - Java Interview Questions
Difference between extends thread class vs implements runnable interface  Hi Friends, can you give difference between extending thread class... other classes as java is having single inheritance feature whereas If you implement
Java Vs Script
Java Vs Script       The Java  and Java Script are completely different from each other... different in creating an application that they run. Java is a complex object
A - Java Glossary
A - Java Glossary       Java Assertions In Java 1.4, Assertion is a keyword.... Java Ant In this section, you will learn about the java ant tool
JDK 1.4 the NullPointerException - Java Tutorials
NullPointerException In Java NullPointerException occurs when you perform an operation on a object or calling a method on the object.  The only way to solve Null Pointer Exception is to avoid executing operation on a object
pack() vs. setSize() Method in Java
pack() vs. setSize() Method in Java   ...() method of the Java Swing. Here, you can see the given example provides a JFrame... or the setSize() method of Java Swing. The main difference between the pack() method
Java Glossary Term - G
Java Glossary Term - G       Java Generic Java 1.5 provides number of new features to the Java Language including "Java Generics". Using generics makes
Java generic
.style1 { color: #000080; } Java generic       Java 1.5 provides number of new features to the Java Language including "Java Generics". Using generics makes
Java EE 5
with the previous version J2EE 1.4, we can say the Java EE 5 is more rich, powerful... Java EE 5       Java Platform, Enterprise Edition 5 (Java EE 5) mainly focuses on to make
Extending Java with Yield
Extending Java with Yield          Yielder library is a library that uses Java 1.5... code manipulation on plain java classes enables us an interesting mechanism
JETM vs Jprofiler
JETM vs Jprofiler  Can anyone explain the difference between Java Execution Time Measurement(JETM) and Jprofiler
jdk 1.6 vs jdk 1.7
given the reply for 1.5 vs 1.6...jdk 1.6 vs jdk 1.7  What is the difference between jdk 1.6 and 1.7...: 1)Java 1.6 runs faster than Java 1.5. 2)Java 1.6 makes programming easier
inheritence Vs inheritence
inheritence Vs inheritence  what are difference b/w c++ inheritence and java inheritence   Hi Friend, C++ supports Multiple Inheritance while Java does not. Thanks
Java Spring Hibernate Struts Training Retrieve database from the table dynamically in jsp from oracle using servlet What does core Java include? java What are some way to learn Java quickly? Is it required to learn Java before learning Java Script? Is it necessary to learn java script before learning PHP? Are HTML5 and Java Script boosts Java career? Is Java object oriented? Fingerprint application with Java Uninstall Oracle Virtual Box JSON to HashMap Free Java online Training I want example of Control Statement in Java ANSI Color Codes with Python Create a Program that Calculates Input What is difference between JDK,JRE and JVM? How to see ubuntu version on server? How to get Page Source in Selenium (WebDriver) using Java? The path to the driver executable must be set by the webdriver.gecko.driver system property parse data from a link in java Java Program Qns using BlueJ How to fix HAX Kernel Module Is Not Installed error? Installing Audacity Looking for code Logic to check track changes & Coments in MSWord, MSWordx, MSExcel, MSExcelx is ON/OFF Installing JDK on Mac SAX Parser exception ERROR 601 (42P00): Syntax error. Encountered Thread java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory How to install Ubuntu 16.04 LTS? HttpServletRequest cannot be resolved to a type in eclipse - Solved Unhandled event loop exception GC overhead limit exceeded Spring Data jpa with apache phoenix Caused by: java.lang.IllegalArgumentException: Not a host:port pair: PBUF o.a.h.h.z.RecoverableZooKeeper - Possibly transient ZooKeeper, quorum= com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager class not found com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager not found How to download and install Java 8 on Windows? How to uninstall JDK 7? How to install gtk-doc-tools package in Ubuntu? How to install Oracle JDK 8 on Ubuntu? ejabberd_ctl.beam not found - Solved How to convert date to UTC format in Java? How to install autoconf, automake and libtool in Ubuntu 15.10? How to convert current date to mm dd yyyy format in Java? How to convert current date to dd mm yyyy format in Java? How to stop window closing in "internalFrameClosing" event. How to find list of all index in Neo4j? file location SASLError using PLAIN: not-authorized


Advertisement null