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<http://mc/compose?to=java-ee-j2ee-programming-with-pass...@googlegroups.com>
> To unsubscribe from this group, send email to
> java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com<http://mc/compose?to=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.rd.yahoo.com/tagline_yyi_1/*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<java-ee-j2ee-programming-with-passion%2bunsubscr...@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

Reply via email to