Author: Prasad Kharkar

Prasad Kharkar is a java enthusiast and always keen to explore and learn java technologies. He is SCJP,OCPWCD, OCEJPAD and aspires to be java architect.

static variables in java

Hello all, In this article we are going to see the behavior of static variables and how are they different from non static variables. We will first see some key points about them. static variables are bound to a class…

JAXB : jaxb and collections

JAXB and collections In the previous part of this series, we learned about Marshalling and Unmarshalling using JAXB for simple objects. In this part we are going to see how to deal with jaxb and collections. Consider we have a scenario,…

Generics: The wildcard operator

In the previous part of this tutorial, Polymorphism with generics we have learned the shortcomings of generics while using polymorphism with it.In this part, we are going to overcome them using wildcard operator. Please read this article before continuing. Vehicle…

Generics: Polymorphism with generics

In An Introduction To Generics we learned about declaring and using generics. In this part of the tutorial we are going to learn polymorphism with generics. Consider this declarations.

List is the base type. String is the generic type ArrayList