> i need to know the internal and external difference between > > String str = "prad"; > String str = new String("prad"); My Java is a bit rusty, however - As far as I am aware, there is actually no internal difference between the two. Externally "string" is just a shorthand way of writing New String("string"); Either way it is still an object. There is a difference b/w int i = 1; Integer i = new Integer(1); HTH What you need to know for? Mark ----------------------------------- mark@safefrombees.com ICQ: 3094740 Safe From Bees [www.safefrombees.com]