no that is short cut.But I guess behind the scenes new String() is called. --- On Fri, 27/11/09, Kamal Chandana Mettananda <lka...@gmail.com> wrote:
From: Kamal Chandana Mettananda <lka...@gmail.com> Subject: Re: [java ee programming] To: "prabu504" <prabu...@gmail.com> Cc: "java-ee-j2ee-programming-with-passion" <java-ee-j2ee-programming-with-passion@googlegroups.com> Date: Friday, 27 November, 2009, 5:53 AM Just to add one more to this list: String s = "my text"; This also creates a new object (without new keyword). --------------------------------------- http://lkamal.blogspot.com On Fri, Nov 27, 2009 at 9:04 AM, d bhagavan <adityabhagava...@yahoo.com> wrote: Cloning also one of the methods for creating new objects.. Aditya. --- On Thu, 26/11/09, Lsn.Murthy <lsn.mur...@gameloft.com> wrote: From: Lsn.Murthy <lsn.mur...@gameloft.com> Subject: Re: [java ee programming] To: prabu...@gmail.com Cc: java-ee-j2ee-programming-with-passion@googlegroups.com Date: Thursday, 26 November, 2009, 1:33 PM Using Factory classes. prabu vaikundanarayanan wrote: > hi every one,, > > > could any one please tell me how to create objects with out > using new keyword > > > thanks in advance > > > Regards > Prabu > > -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en