Home Answers Viewqa Java-Beginners java 1.4 vs java 1.5

 
 


venkat
java 1.4 vs java 1.5
1 Answer(s)      5 years and 3 months 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 Pages:
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
Java Programming: Section 1.4
Section 1.4 Fundamental Building Blocks of Programs.... In Java and most other languages, a variable has a type that indicates what..., the following "assignment statement," which might appear in a Java
MemoryCounter for Java 1.4 - Java Tutorials
MemoryCounter for Java 1.4 2003-09-29 The Java Specialists' Newsletter [Issue 078] - MemoryCounter for Java 1.4 Author: Dr. Heinz M. Kabutz If you.... MemoryCounter for Java 1.4 Before I start, I must warn you that I am using
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
Java Programming: Section 1.5
Section 1.5 Objects and Object-oriented Programming PROGRAMS MUST BE DESIGNED. No one can just sit down at the computer and compose a program of any complexity. The discipline called software engineering is concerned
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
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
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
Release or Stripes 1.5
Release or Stripes 1.5 (18 Aug 2008) Stripes is an open source and action-based Java framework of presentation layer developed to create web applications using the latest Java based technologies. Stripes is developed
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
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
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
JETM vs Jprofiler
JETM vs Jprofiler  Can anyone explain the difference between Java Execution Time Measurement(JETM) and Jprofiler
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
portability vs platform independent
portability vs platform independent  sir, pls tell me 1.the differences between platform independent and portability related to java technology 2.how java provides security 3.how can i prove servlet is a single instance
'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
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
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
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
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
Servlets vs JSP - JSP-Servlet
Servlets vs JSP  What is the main difference between Servlets and JSP... and servlet act as a controller. 2)JSP pages contain a mixture of HTML, Java scripts, JSP elements, and JSP directives while servlet is totally uses java code. 3
description about jdk 1.5 features - Hibernate Interview Questions
description about jdk 1.5 features  Hi. Please can anyone provide... by sun Microsystems. Java Development Kit or JDK comes in various version and can... tools are used with JDK for developing java based application & java applets. So
why to use hibernet vs jdbc
why to use hibernet vs jdbc  plz send me the reply   Hi Friend, Differences: 1) Hibernate is data base independent Where JDBC is database... to implement your java cache. 4) Development is faster in Hibernate than JDBC. 5
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
Servlets Vs Jsp - JSP-Servlet
Servlets Vs Jsp  In servlets and Jsp's which one is important.... It acts as a Controller in MVC . It is a Java class implementing... JSP is a Presentation Layer. A Java Server Page is a slightly more complicated
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
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
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
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 vs. C
Java: Java vs. C Is Java easier or harder than C? Java is harder because ... Java is more powerful and can do much more than C. For example... way to do object-oriented programming (OOP). It's possible to write in Java
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
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
Console vs Dialog I/O
Java NotesConsole vs Dialog I/O Dialog box I/O is useful. Normal... was introduced in Java 5 (JDK 1.5) and is not available in older versions of Java... // Date: 2005-08-30 // Note: Scanner was added in Java 5 (JDK 1.5). import
PHP vs J2EE, PHP vs JAVA
PHP Vs Java Those who think that java scales and PHP not is wrong, PHP... Both PHP and Java runs on virtual machine. Java beat PHP on some performance... structure looks very clear, for example JSP (Java Server Pages) communicate to EJB
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 generic
.style1 { color: #000080; } Java generic       Java 1.5 provides number of new features to the Java Language including "Java Generics". Using generics makes
GUI - Swing vs. AWT
Java: GUI - Swing vs. AWT The original graphical user interface (GUI) for Java was called the Abstract Windowing Toolkit (AWT). Performance... in almost all cases; an AWT continues to work in Java. Must choose between Swing
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
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
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
Threads
. Threads vs Processes Multiple processes / tasks Separate programs... with other threads. Cooperative vs Pre-emptive Cooperative multithreading... Structures and Synchronization Before Java 1.2 All data structures
java - Java Interview Questions
Difference between jdk 1.4 and jdk1.5 Java  What is the difference between jdk 1.4 and jdk1.5 in Java?  Difference between jdk 1.4 and jdk1.5 Sun added some more advanced and some new features to new J2SE 1.5
Java - JDK Tutorials
1.5 Performance Surprises Java 5.0, code is also called "Tiger", which... for Java 1.4  Assertion In Java In this tutorial we are going...Java - JDK Tutorials   Deadlocks in Java In this tutorial you
Interface Vs Abstract Class
Interface Vs Abstract Class       There are three main differences between an interface and an abstract... faster Main reason for the existence of interfaces in Java is: to support
JDBC vs ORM
JDBC vs ORM      ... into persistence storage for future reference. What is JDBC? JDBC stands for Java Database Connectivity, is a set of Java API for accessing the relational databases

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.