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



Home Answers Viewqa Java-Beginners java 1.4 vs java 1.5

Have Programming Question? Ask it here!
 
 
 


venkat
java 1.4 vs java 1.5
1 Answer(s)      6 years and 6 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
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
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
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 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 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
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
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
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
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
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
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
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
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 Glossary Term - E
Java Glossary Term - E       Java EE 5 Java Platform, Enterprise Edition 5 (Java EE 5... 1.4 platform. It provides new features along with updated features
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
Y - Java Terms
Y - Java Terms       Extending Java with Yield Yielder library is a library that uses Java 1.5's facility to hook user-defined class inspectors
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
getResourceAsStream() vs FileInputStream
getResourceAsStream() vs FileInputStream  getResourceAsStream() vs FileInputStream
Java - JDK Tutorials
; Disassembling Java Classes  JDK 1.4 the NullPointerException ...Java - JDK Tutorials   This is the list of JDK tutorials which will useful for the Java programmers. Here you will learn how to use the different
websphere vs weblogic
websphere vs weblogic  websphere vs weblogic Why you are using websphere instead of weblogic
wt are the futures in jdk 1.5 with clear ex
wt are the futures in jdk 1.5 with clear ex  plese send me the correce ex
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
oracle vs sql
oracle vs sql  what is the difference between oracle and sql
encapsulation vs abstraction
encapsulation vs abstraction  what is the difference between encapsulation and abstraction
differce between jdk 1.5 and 1.6 with example
differce between jdk 1.5 and 1.6 with example  Hi Friends , Can u plz tell me differences between jdk1.5 and jdk 1.6 with examples
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
Java
Java  when we go for abstract class and interface?   Please visit the following link: http://www.roseindia.net/help/java/a/interface-vs-abstract-class.shtml
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
 

 

 

DMCA.com