Currently browsing tag

Java 5.0

java-thumbnail

Java Varargs

In this article, we will discuss about passing variable number of arguments to Java methods. Variable arguments feature was introduced in Java …

java-thumbnail

Introduction to Java Agents

In this article we will discuss about Java Agents. Java Agents are software components that provide instrumentation capabilities to an application. In …

java-thumbnail

Java 5.0

Java 5.0 Java Platform, Standard Edition (also known as Java 2 Platform) lets you develop and deploy Java applications on desktops and …

java-thumbnail

How to use Enum in Switch?

Enums introduced in Java 5.0 (Read: New features in Java 5.0) allows switching to be done based on the enums values. It is …

java-thumbnail

Adding methods to an Enum

Enums introduced in Java 5.0 are just compiled java classes with some extra behavior. So you can basically do whatever you can …

java-thumbnail

Generic Methods in Java 5.0

In java 1.5 we have a feature called generic methods, with this we can write a method, which can be generic, means …