Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners java 1.4 vs java 1.5
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


venkat
java 1.4 vs java 1.5
1 Answer(s)      6 years and 10 months ago
Posted in : Java Beginners


What is the difference between java 1.4 and java 1.5?


Advertisement
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
Advertisements
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
Advertisements
 

 

 

DMCA.com