JavaBeat Feeds
|
|
|
|
|
|
|
|
|
|
|
|
|
Sponsors
|
|
|
|
|
Pages :
1
|
|
|
|
Generics in Java 5.0
Author :
Christy
Date : Tue Aug 14th, 2007
The feature of Generics in Java allows Applications to create classes and objects that can operate on any defined types. Programmers can now make use of the Generics feature for a much better code. There is no need for un-necessary casting when dealing with Objects in a Collection. This article provides a detailed overview of Generics and its usage in different context with samples. To start with, it illustrates the need for Generics and the difficulties faced by the Developers before its origin. It will explain in detail on how to write Generic Classes, Generic Methods and so on. Then the various aspects of Bound Constraints and Wild-cards will be discussed.
New Features in Java 5.0
Author :
Christy
Date : Tue Aug 14th, 2007
Java 5.0 comes with a bunch of useful features. In this article, we are going to have an overview of the features like Enhanced for-loop, Variable Arguments, Static Imports and Enumerations. The sections in this article are,
AutoBoxing in Java 5.0
Author :
NissiNath
Date : Sun Aug 12th, 2007
In the latest version of J2SE 5.0 released by Sun, Autoboxing is one of the new feature. Before J2SE 5.0, working with primitive types required the repetitive work of converting the primitive types into wrapper classes and vice - versa. Sometimes the purpose of conversion is just for some API call, after which the results have to be converted into original form which is very frustrating .Auto-boxing and Auto-Unboxing enables the primitive types to be converted into respective wrapper objects and the other way around.This article gives some insight about the importance of this new feature and how it can be used in the real-world programming.
Annotations in Java 5.0
Author :
Christy
Date : Sat Aug 11th, 2007
Annotations in Java is all about adding meta-data facility to the Java Elements. Like Classes, Interfaces or Enums, Annotations define a type in Java and they can be applied to several Java Elements. Tools which will read and interpret the Annotations will implement a lot of functionalities from the meta-information obtained. For example, they can ensure the consistency between classes, can check the validity of the paramters passed by the clients at run-time and can generate lot of base code for a project. This article provides you a complete guide detailing the various aspects of Annotations. The topics covered in this article are as follows,
|
|
Pages :
1
|
|
|
Bookmark This Page :
|
|
|
|