Which jar

Monday, 23 April 2007, 23:22 | Category : Java, Technology
Tags :

How to know from which jar file a class has been loaded?

Number of processors on a machine

Monday, 23 April 2007, 23:20 | Category : Java, Technology
Tags : ,

How to get Number of processors on a machine in java

Sample java code to read mails from your gmail account

Monday, 23 April 2007, 23:13 | Category : Internet, J2EE, Java, Technology
Tags : ,

Sample java code to read mails from your gmail account

Covariant return types

Friday, 20 April 2007, 12:44 | Category : Java, Technology
Tags :

You cannot have two methods in the same class with signatures that only differ by return type. Until the J2SE 5.0 release, it was also true that a class could not override the return type of the methods it inherits from a superclass. In this tip you will learn about a new feature in J2SE […]

Java Interview questions

Friday, 20 April 2007, 12:41 | Category : Interview questions, Java, Technology
Tags :

Q. How to create Immutable class? Immutable objects are simply objects whose state (the object’s data) does not change after construction. Always construct an object completely, instead of using a no-argument constructor combined with subsequent calls to setXXX methods. Do not provide any methods which can change the state of the object in any way […]